Ryan Holiday said this quote

We have only minimal control over the rewards for our work and effort - other people’s validation, recognition, rewards. It’s far better when doing the work itself is sufficient. When fulfilling our own internal standards is what fills us with pride and self-respect. The less attached we are to the outcomes, the better. Our ego wants recognition & compensation. We have expectations. Let the effort, not the results be enough. Maybe your parents/kids/partner/etc won’t be impressed. We can’t let THAT be what motivates us. We can change the definition of success to: ‘peace of mind, which is a direct result of self-satisfaction in knowing you made the effort to do your best to become the best that you are capable of becoming.’ With this definition we decide not to let externals determine if something is worth doing. It’s on us.