I can't decide between the two consoles. On the other hand, since I like Xbox a lot, many of my friends get a PS5. The Xbox has the advantage for me that I like to play old games and there's more backward compatibility there. On the other hand, the PS5 has a lot of good exclusives that I like very much, but the xbox has the gamepass… Can anyone help me with my decision or convince me to buy a PC?
Ultimately, you have to decide for yourself.
In addition to backward compatibility, the Xbox also has the advantage of a game pass that can also be used on the PC. If you want, the Xbox can be a good addition.
The PS5 has the exclusive games from Sony as a big counter-argument. Personally, I have always found them very uninteresting in recent years. But you have to see how your taste is.
In addition, you write that your friends all have PS. If you like to play online with them then it makes more sense for them to get the horsepower.
With a PC you have more options, but the initial purchase is significantly more expensive if you want the same performance.