I believe it was Gabe Newell who said the best way to avoid piracy is by making legitimate purchasing easier and/or better.
In the early history of streaming services, you could get access to a lot of content in a straightforward way for not much money. People started doing that instead of pirating. The corporations got greedy, they made the services worse and increased the price to the point that piracy is preferable again.
And I don't have the least amount of sympathy. Yarr matey.