Of course it's work finding solutions to problems and you should be able to live off your work. And in capitalism, a patent sometimes is the only option to do so.
However, patents and other forms of "intellectual property" are absolutely illogical and amoral. Nobody ever made a completely new thing. Every innovation builds on so much knowledge accumulated by so many people that came before. It's absolutely nonsensical that an advancement that's 99 % an achievement of humanity and 1 % of a single person should belong to that single person.