If you only buy a PC for gaming, then a PC with decent capabilities is also a pretty expensive buy, yes. But even then you have a much bigger games library and the games are cheaper. You can get a lot of free games if you use all stores (Epic, GOG and so on...) and you don't have to pay for some weird stuff which costs money on consoles.
So even if you only use the PC for gaming, it looks like a much better deal to me as a PS5 Pro. The only disadvantage is that you have to wait some time to get games from Sony or games Sony bought exclusive rights for to play on PC.
If you also use your PC for other things, there's just no point to even talk about what's better nowadays.