Compared to any other non-Nintendo platform ever made? No, it didn't. They used cheap junk tech, exactly like the Switch, and didn't commit to any meaningful investment in number of units.
The fact that they use hardware not capable of playing modern games is why third parties have very limited involvement with them. It's why they got ports of 15 year old games instead of most developers of new games even considering putting their games on there. And their bad hardware is a direct result of their unwillingness to invest like everyone else does. Even Valve, who has very limited hardware production, invested far more in the Steam Deck than Nintendo did on the switch.
https://www.tweaktown.com/news/92231/nintendo-boosts-spending-as-next-gen-switch-2-looms/index.html#:~:text=According%20to%20Nintendo's%202023%20annual,R%26D%20throughout%20Fiscal%20Year%202023.
With a nice chart showing how much of a joke their investment developing the Switch was.
https://www.reuters.com/technology/sony-boost-gaming-unit-with-217-bln-rd-war-chest-2024-nikkei-2023-07-12/
There are literally dozens, minimum, of sources with the same numbers. They're in annual reports and not secret or debatable at all.
Everything I've said is accurate. You're the one pretending putting one of the worst controllers ever made together with off the shelf parts is somehow comparable to designing custom SoCs on cutting edge nodes.