Psalms 18:22-26 (WEB)
22 For all his ordinances were before me. I didn’t put away his statutes from me.
23 I was also blameless with him. I kept myself from my iniquity.
24 Therefore the LORD has rewarded me according to my righteousness, according to the cleanness of my hands in his eyesight.
25 With the merciful you will show yourself merciful. With the perfect man, you will show yourself perfect.
26 With the pure, you will show yourself pure. With the crooked you will show yourself shrewd.
About Psalms 18: David wrote this psalm after God saved him from Saul and his enemies. It sits in the book of Psalms as a thanksgiving song. The superscription tells us it was sung to the chief musician. David calls the Lord his rock, fortress, and deliverer in verses 1-2. These names show God as strong and safe. A buckler is a shield that covers the whole body. The horn of salvation means power to save. Read the study notes
5 verses · Compare in parallel · Read all of Psalms 18