Psalm 76:10 in the King James Version
Surely the wrath of man shall praise thee: the remainder of wrath shalt thou restrain.
Context
9 when God arose to judgment, to save all the afflicted ones of the earth. Selah.
10 Surely the wrath of man praises you. The survivors of your wrath are restrained.
11 Make vows to the LORD your God, and fulfill them! Let all of his neighbors bring presents to him who is to be feared.