Tangentially, this is something I think about from time to time: in tech, you can be mediocre and live a very comfortable life. In art (and many other areas), you often have to be extraordinary just to make ends meet.
So I don’t think art is “harder”. It’s just harder for the average practitioner/professional to find “success” (however you like to define it).