Psalms 49:18 - Kjv

Though while he lived he blessed his soul: and men will praise thee, when thou doest well to thyself.