I have a question I would like to switch to Pc soon and I have a lot of games on my xbox account, how can I then play them on the Pc without having to buy them again and with my progress that I have achieved on the xbox or eg skins like in Rainbow 6
Not at all.
You have to install the "xBox (beta)" program in the Microsoft Store and log in with your xBox account. Then it should work great.
There you will find all the games you have, only you have to download them again on the PC.
And why don't you think so?