In the Bhagavad-Gita (chapter 2, verse 47), Krishna says to Arjuna:
You have a right to perform your prescribed duty, but you are not entitled to the fruits of action.
An alternate translation:
You have a right to your labor, but not to the fruits of your labor.
The message is that you are entitled only to the doing of the work, and not any rewards that may come from it. You have to let go of the outcome, because ultimately the outcome isn’t up to you.
Who knows how your work will be received by the world? Maybe lots of people will love it. Maybe not. You can’t control how other people respond. Influence, maybe. But not control, not entirely.
The only thing you have complete control over is the doing of the work, the showing up every day, the writing of that book, the coding of that software, the designing of that webpage.
Whatever your work consists of, that’s all you can do and all you are entitled to.