There is this advice: "Do it for yourself"
But what if no one really knows their "self"?
I would rephrase it and say:
"Do not do it for your ego,
do it for your soul."