I own a One X, but I would use the hell out of a Series X.
I probably would ignore the PS5, seeing as I ignore my PS4 for the most part currently.
When I had a gaming PC, I used it quite often.
Yeah, that was my experience with the Playstation stuff as well as time went on.
PS2 I used *a lot*, particularly with the fighting games on there. The stupid things broke if you looked at them too hard (particularly the Slimline model, that was possibly the worst piece of electronics I've ever owned) but the game selection was amazing. PS3, not as good but it had LittleBigPlanet on it, so I used it a lot for that.
The PS4, for me, was a doorstop. Bought it, almost never used it... there wasnt really anything to do on it. I played Dont Starve on it every now and then but really I can just play that on PC just fine. Eventually I outright lost it, no idea where it went, didnt care enough to look for it, and that was the end of my time with Playstation products. Mostly. I did buy PS4 & 5 controllers to use with my PC here. Though I ditched those once I got my hands on the Xbox controller, which I'm convinced is the best one ever made. I've been *almost* tempted to get the PS5 because of Dreams, but... ehhhh. Buying a console for ONE game seems dumb.
As for a gaming PC, the nice thing about that is that requirements for games arent even remotely as strict as they used to be... there's no need whatsoever to try to go for ultra high end mega super duper parts. Yeah I know the "PC master race" sorts will tell you otherwise, but no, you dont need to do that. Even with mine... I have a 3090 card but the actual reason for it is to render fractals, it usually doesnt matter at all with actual games.
Another thing to consider is what specific games you're after? If you arent after Xbox exclusives, I'd suggest skipping the Xbox and just going straight to PC, as the vast majority of games that appear on the S/X are also on PC, and the Xbox controllers all work perfectly. It's something to think about at least, since going for both the console AND PC would cost quite a bit.
As it is, I do like my own Xbox Series X, but I dont think I'd have bought it on my own (it was a gift from an incredibly generous friend of mine) just since the selection is so similar. On the other hand though my PC's hard drive is nearly out of space, so having some games be on the Xbox is nice (I really should have gotten a bigger hard drive though).