As
@rgd1101 says, PCs aren't limited to gaming alone. With PCs, your initial buy-in will be steeper but from then on you can upgrade components to keep current, enhance your games with mods, and improve the visuals with in-game (and out of game) settings that go well beyond what consoles can do. Mods are starting to become more and more accessible from consoles but they will ALWAYS be lacking compared to mods on PC. I have been a PC gamer, exclusively, for the last 20 years, so I will always say PC.
Just to give you an example of the PC's flexibility, I am currently using a modded, heavily overclocked Vega 64 GPU. This GPU is over 3 years old yet it, at least on paper, can be considered more powerful (raw TFLOPS) than the GPUs in the new Xbox Series X and PS5. TFLOPS only tell part of the story, of course. Consoles have tons of extra optimizations, at the PCB level, that just can't be done on PCs.
Are you looking for the simplicity of not having to deal with an operating system (windows updates, drivers, etc.)? What do you currently play games on?
To answer your question, an RTX 3070 and Ryzen 5 5600 will be substantially more powerful.