Yes exactly, that jumps out as a strange thing to say. The enjoyable part of programming is the puzzle, the act of figuring out how to solve the problem elegantly and well.
Although I can't speak for artists, surely the joy of painting is in the creation of a piece of art they can be proud of?
Enjoyment in work is generally about taking pride in the end result, not in the repetitive mechanical part.