Thus the scripture was fulfilled that says, "Abraham believed God, and it was credited to him as righteousness," and he was called "the friend of God.“ See how a person is justified by works and not by faith alone. And in the same way, was not Rahab the harlot also justified by works when she welcomed the messengers and sent them out by a different route? For just as a body without a spirit is dead, so also faith without works is dead.
1 Peter 1:7
… him who judges impartially according to each one's works.
1 Peter 1:2
… chosen … in the foreknowledge of God the Father, through sanctification by the Spirit, for obedience and sprinkling with the blood of Jesus Christ: …