This is also a major theme in the Bhagavad Gita, that is, relinquishing the fruit of your labor. Do things for the satisfaction of the doing, not the result. Doing this, even occasionally, completely changes your life.
“Life is a series of natural and spontaneous changes. Don’t resist them - that only creates sorrow. Let reality be reality. Let things flow naturally forward in whatever way they like.”
— Lao Tzu (via likethesun)