Not a parent but if I was, I would absolutely get them a Switch over an Xbox/PS5. While games can be hit and miss on XB/PS, Nintendo seems to really have their shit together when it comes to releasing consistent high quality games with no shenanigans.
The downside is the games never go on sale so you aren't getting any deals but the upside is that you can give your kid just about any Nintendo game and not worry about shenanigans around loot boxes, ads and other crap they stick inside games now.
The downside is the games never go on sale so you aren't getting any deals but the upside is that you can give your kid just about any Nintendo game and not worry about shenanigans around loot boxes, ads and other crap they stick inside games now.