Psalm 49:18

King James Version Bible (KJV)
Though while he lived he blessed his soul: and men will praise thee, when thou doest well to thyself.

Read Psalm 49:18 in other translations