The context teaches us what is meant.
There are two types of death.
Physical death and spiritual death.
James is Referring to a brother in Christ who has wandered away from Christ.
Jesus taught clearly about this issue.
He illustrated this principle of becoming lost by the parable of the lost sheep.
“What man of you, having a hundred sheep, if he loses one of them, does not leave the ninety-nine in the wilderness, and go after the one which is lost until he finds it? And when he has found it, he lays it on his shoulders, rejoicing. And when he comes home, he calls together his friends and neighbors, saying to them, Rejoice with me, for I have found my sheep which was lost!’ I say to you that likewise there will be more joy in heaven over one sinner who repents than over ninety-nine just persons who need no repentance. Luke 15:4-7
A sheep who wanders away and becomes lost Represents a person who was once saved then became lost; as a sinner in need of repentance.
likewise there will be more joy in heaven over one sinner who repents than over ninety-nine just persons who need no repentance.
A sinner needs to repent in order to be reconciled to God.
Which is to say justified; made right with God.
JLB