You can do you good work or bad work.
Do bad work, and you’ll have a bad time. Repeat.
Do good work, and you’ll feel good about it (and yourself). You might have a good time, too. Repeat.
If you don’t have a good time, go do some other kind of good work. You get to do other kinds of good work because people know you did good work, and they’re happy to recommend you. Repeat until you find yourself having a good time.