Stay on purpose, not on outcome. In other words, do the task because it is what you love to do or because it will help someone or is a valuable exercise. Don’t do it for the money or the recognition. Those will come naturally. This is the way of the world.