Saved by faith and works. Mark 16:16
Heb.11:31
"By faith the harlot Rahab perished not with them that believed not, when she had received the spies with peace."
Jas.2:25
"Was not Rahab the harlot justified by works, when she had received the messengers, and had sent them out another way?"
Ephesians 2:8
"By grace are ye saved, through faith and that not of yourselves: it is the gift of God."
First faith combined with works, grace cannot work on the unwilling heart and mind.
See it?