If I make something, I should be capable of earning money with it if I want to. Copyright protects software in that regard, as well as music and images, etc.
https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3198147
The same arguments generally apply to patents. There are monetization models like live shows, subscriptions, Patreon, advertising, sponsorships, etc that work very well for creators.
Especially in the internet age, we shouldn't act like copyright and patents do anything to stop people. Creators would likely do better if the publishers weren't in the middle controlling access to their works.
You can't get rid of those types of patents unless you also start either handing out massive research subsidies or perform research with government money.
Which might be a good idea if the goal is to develop vaccines or new, effective antibiotics - things which are desperately needed but still do not seem to produce a strong enough incentive even with patents.