Passage
But was not in like manner also Rahab the harlot justified on the principle of works, when she had received the messengers and put [them] forth by another way?
But was not in like manner also Rahab the harlot justified on the principle of works, when she had received the messengers and put [them] forth by another way?
James 2:23 And the scripture was fulfilled which says, Abraham believed God, and it was reckoned to him as righteousness, and he was called Friend of God.
James 2:24 Ye see that a man is justified on the principle of works, and not on the principle of faith only.
James 2:25 But was not in like manner also Rahab the harlot justified on the principle of works, when she had received the messengers and put [them] forth by another way?
James 2:26 For as the body without a spirit is dead, so also faith without works is dead.
The verse centers on "justified", "like", "manner", "rahab", "harlot", "principle", "works", and "received". It is saying that the verse draws attention to "justified" and "like", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 24's "Ye see that a man is justified..." into verse 26's "For as the body without a spirit...", so "justified" and "like" belong inside that flow. In James context, the local focus is Christ, faith, and discipleship.
A plain takeaway is to answer the verse's own emphasis on "justified" and "like" with trust shaped by these words, not by a vague optimism outside the passage.