Objectively speaking - Xbox. Capable of ray tracing which is a big plus and it is also statistically faster than the PS5.
In general it doesn't matter too much since a lot of AAA games are going full cross-platform these days, so just choose the cheaper xbox series x or ps5 if your friends play on it.