He shall receive blessing from the LORD,
And righteousness from the God of his salvation.
This is Jacob, the generation of those who seek Him,
Who seek Your face. Psa 24:5-6
David is not saying, that if he keeps the Torah of YHVH (“He who … has not lifted up his soul to an idol” is an expression of Torah obedience) he shall receive salvation. No, but obedience – keeping Torah – is for those whom God has already saved. The God who has saved him, will add blessing to him, for obedience brings a blessing! The God who has saved him, will add righteousness to him, for the purity of his heart’s sake, out of which the desire flows to keep his hands clean!
I like the JPS translation of verse 6 better than the NKJV here:
Such is the generation of them that seek after Him, that seek Thy face, even Jacob. Psa 24:6 JPS
Those who are the seed of Abraham, as Jacob is, who believe, seek after Him and seek His face. Paul phrases the same idea this way:
For you are all sons of God through faith in Christ Jesus. For as many of you as were baptized into Christ have put on Christ. There is neither Jew nor Greek, there is neither slave nor free, there is neither male nor female; for you are all one in Christ Jesus. And if you are Christ’s, then you are Abraham’s seed, and heirs according to the promise. Gal 3:26-29
This does not mean that the physical descendants of Abraham have been replaced by Christians! It does mean, that any who believe in God, who have faith in Jesus Christ, who seek YHVH’s face, are just as much the seed of Abraham as Jacob is – for all who are of Jacob, seek YHVH’s face!