In this Davidic psalm, God’s ownership over all creation is established in the opening verses (24:1-2), and then the question of who can ascend to meet with God is asked (24:3). Those who worship and fellowship with God are those who trust him with their hearts and obey him with their lives (24:4). Such faith is counted as righteousness, which is the blessing of justification (24:5).
David then describes those who receive salvation from God:
“Such is the generation of those who seek him,
who seek the face of the God of Jacob”
David had previously written that God looked down from heaven to see if there were any who sought him (Psalm 14:2), but, tragically, everyone had turned aside to his own way (14:3). Paul quotes this same psalm in Romans 3:11 to argue that no one seeks God on their own. In our fallenness, apart from God’s Spirit, we go the way of destruction.
But now David describes seekers, people “who seek the face of the God of Jacob.” These people have trusted in God rather than idols (Psalm 24:4), so God has saved them by counting their faith as righteousness. These people (the saved) now become the seekers. They are the justified generation.
The unsaved don’t seek the face of God. The unsaved spit in his face, mock his name, exchange his glory for idolatry, and embrace lies rather than truth.
Those with the status of righteousness have been freed from their blindness. Those in the right now seek what is right, namely, God.