David wants Yahweh to establish the righteous (Ps 7:9-7:11)

“O let the evil of the wicked come to an end!

Establish the righteous!

You who test the minds and hearts!

O righteous God!

My shield is with God.

God saves the upright in heart.

God is a righteous judge.

God has indignation every day.”

David wanted the reign of the evil wicked ones to come to an end. David wanted God to establish the righteous one. He knows how to test the minds and hearts of people. David had his shield with his righteous God. God would save the upright in heart because he was righteous despite his daily indignation.