(Controversial?) opinion: patents encourage innovation because they force competitors to find new solutions instead of only copying existing solutions.
That doesn’t mean that it could not go terribly wrong as for example when patents blocked progress in 3D printing for decades.