The Xbox One is backwards compatible with many Xbox 360 games, with the Xbox One X even up scaling these to 4K, so that might be a bonus for you to remain with an Xbox.
I'd honestly go with which ever console has the games you wish to play however.
I've enjoyed Crackdown 3 on the Xbox One, however beyond that i've played on the Nintendo Switch more these last couple of years due to the games it has.

