The piracy era was incredibly beneficial for society because it gave a lot of people access to software tools and knowledge they previously could never afford to access, but when it proliferated too much, the companies and individuals that produced software and books and video could no longer sustain themselves financially.
This doesn't mean piracy is inherently bad but instead we need a better system that can provide income to those producing useful material while ensuring access to that material to everyone that needs it. It's hard to achieve but it's certainly not impossible.