Psalm 7:17 in the King James Version
I will praise the LORD according to his righteousness: and will sing praise to the name of the LORD most high.
Context
16 The trouble he causes shall return to his own head. His violence shall come down on the crown of his own head.
17 I will give thanks to the LORD according to his righteousness, and will sing praise to the name of the LORD Most High.