Notice how piracy for PS5 and Xbox Series X/S are basically nonexistent as of now, while it's only switch getting piracy problems. Nintendo didn't have piracy this severe with the gamecube did they? Or N64? Or SNES?
Gee, its almost like.when your console is up to modern hardware standards, emulation and piracy are exclusive to the top 1% of people who can afford the cutting edge. WHO WOULDA THUNK IT?!?
Maybe you're as young as your avatar looks, but piracy and emulation were absolutely rampant on both the Gamecube and the SNES. The N64 was the exception - mostly because it was much more difficult than PlayStation 1 piracy/emulation, and the two systems got a lot of the same games. Don't get me wrong, N64 emulation existed from as far back as 96 - it was just terrible and didn't run games nearly as good as the actual hardware.
Even when the SNES was still in its heyday, the Professor SF / Game Doctor (and it's clones) were a thing that existed and were popular on the black market circles. These would let you dump your SNES games to a 3.5-inch floppy drive. Those dumped files could also be played on your PC on programs like esnes and eventually stuff like snes9x or zsnes. The games could be comfortably emulated on a Pentium Pro 100, and once the Pentium II came out in '97, emulating SNES games was far superior to playing on actual hardware.
Gamecube piracy emulation was interesting in its own right - the games came on those whopping 1.6GB mini-discs, and one method involved burning discs a certain way then physically cutting them down to fit. Some people physically modified their Gamecubes to hold full size CDs. Another method involved the broadband network adapter (Ethernet) and connecting your Gamecube to software running on your PC that would stream an ISO to the console directly. If memory serves right, it was done through an exploit with the first printing of Phantasy Star Online - and copies of that game shot up in price overnight when that was found out.
Sony and Microsoft aren't immune to this either. The original Xbox was marred with tons of different types of mod chips that let people install tons of games to their consoles internal hard drive. Same thing happened to the Xbox 360, even the first model before the red ring. PS1 emulation was so powerful on PC that there were a few commercial offerings, like Bleem!, that Sony tried to sue and lost. The PS2 was laughable, you could pirate games by sticking a thin piece of plastic in the slot to block the eject sensor and just switch out a disk with a fake one. Sony PS4s are widely hackable at this very moment to play every game (and PC emulators are coming a long way in that regard as well, even in the past couple of weeks). There are a few known exploits in the wild for the PS5 that hackers are actively developing that will enable PS5 piracy probably by the end of the year.
I guess what I'm trying to say is that people will always figure out ways around this kind of crap. Sometimes (like in the case of the Switch and a lot of Nintendo's past consoles) this can happen even when the console is the current "best" on the market.