Psalms 101:2
In this Psalm the profession of the principles of his domestic and political government testifies, as well as actions in accordance with it, David's appreciation of God's mercy to him, and His judgment on his enemies: and thus he sings or celebrates God's dealings. (Psalms 101:1-8)
He avows his sincere purpose, by God's aid, to act uprightly (Genesis 17:1; Psalms 18:30).
