I will praise the LORD according to his righteousness: and will sing praise to the name of the LORD most high.Psalm 7:17 (KJV)
To read Psalm 7:17 well, start with its chapter. In Psalm 7, david takes refuge in God from those who persecute him. He asks God to judge him according to his righteousness and integrity. God is a righteous judge who tries the hearts. The wicked who dig a pit fall into it themselves, and David praises the LORD.
Within the chapter, this verse stands out for what it says about refuge from enemies, God tests the heart, the wicked fall into their own trap and praise for God's justice.
15He made a pit, and digged it, and is fallen into the ditch which he made.
16His mischief shall return upon his own head, and his violent dealing shall come down upon his own pate.
17I will praise the LORD according to his righteousness: and will sing praise to the name of the LORD most high.
Scripture quoted from the King James Version, which is in the public domain. BibleAnswers does not speak for any single denomination. Read about our editorial approach.