John Goldingay, in his book on the Psalms (Psalms, Vol. 1: Psalms 1-41 (Baker Commentary on the Old Testament Wisdom and Psalms)
), calls Psalm 7:10-16 a statement of faith. I have the text after the jump, but his point will guide our comments today.
7:10 The Exalted God is my shield,
the one who delivers the morally upright.
7:11 God is a just judge;
he is angry throughout the day.
7:12 If a person does not repent, God sharpens his sword
and prepares to shoot his bow.
7:13 He prepares to use deadly weapons against him;
he gets ready to shoot flaming arrows.
7:14 See the one who is pregnant with wickedness,
who conceives destructive plans,
and gives birth to harmful lies –
7:15 he digs a pit
and then falls into the hole he has made.
7:16 He becomes the victim of his own destructive plans
and the violence he intended for others falls on his own head.
7:17 I will thank the Lord for his justice;
I will sing praises to the sovereign Lord!