That is a common misconception. Actually patents were an adaptation of an existing system where royalty would give monopolies away to companies they liked.
No-one did any scientific tests at the time to ensure that they were a good idea in the first place. Now those who do retroactive studies are ignored.