Steven Pressfield said this quote

We must do our work for its own sake, not for fortune or attention or applause.