If you don't insist on playing the latest and greatest, you make back much of what you put into a PC (relative to a console) on game pricing. The closed ecosystems of Sony and Microsoft are not consumer friendly. Having better input peripherals (keyboard/mouse or a Switch Pro controller) is also a massive plus.
YMMV on peripherals if you don't dislike the present PS/Xbox controllers as much as I do. My kid likes them both. I haven't liked an Xbox controller since 360.
It's a great console, both for the exclusive titles and the handheld property. I would wait a year and buy the Switch 2 if I didn't have one at present, though.