שָֽׁמְרָ֣ה נַפְשִׁי֮ כִּֽי־חָסִ֪יד אָ֥נִי הוֹשַׁ֣ע עַ֭בְדְּךָ אַתָּ֣ה אֱלֹהַ֑י הַבּוֹטֵ֥חַ אֵלֶֽיךָ׃
Keep my soul, for I am godly; O Thou my God, save Thy servant that trusteth in Thee.
Rashi on Psalms
for I am a pious man that I hear my insults and my disgraces, and I am able to wreak vengeance; yet I remain silent. So it is in Aggadath Tehillim (Mid. Ps. 86:1). Another explanation: Our Sages explained in Berachoth (4a): [David said,] “Am I not a pious man, when all the kings of the Orient and the Occident sit in their glory, and Imy hands are sullied with blood, with the sac, and with the afterbirth?”