I started out with Win 95 / Pentium 1 PC. I remember getting my first 3D accelerator to play incoming.In proportional terms I don't think there's a huge amount of difference. Top end consoles used to cost half what they do now.
I don't know when you started out but if you go back 25-30 years, top end PCs were genuinely expensive if you consider their shelf life. Nowadays, you can buy a PC and run it for 3+ years. Back then, you were essentially forced into upgrading. CD-ROM drive because games were coming on cd. Bigger disk drive so you can install CD games. Soundcard so you can play cd audio. 3d graphics accelerator to enjoy new games. RAM upgrade. Another 3d gfx card because the old one can't handle new games 18 months later. CPU and Mobo (and possibly RAM/Case/PSU) because you are now bottlenecked on new GPU. Modem so you can go online. CD burner so you can burn all the stuff you downloaded. New monitor to replace that dodgy 14" CRT. Etc etc.
Friends had SNES / N64 and Playstations. My parents bought that PC, so I dont know the cost exactly.
I cant remember costs of consoles back then either.
But even going back to 'last gen'. A PS4 cost £350 at launch. The PC I build in Dec 2014 cost me about £900. So just over 2x the cost of a PS4.
A PS5 costs £450, and a similar PC is gonna cost at least £1500 if you can get the GPU at MSRP. Closer to £2k if your getting AIB. Thats between 3x and 4x the cost.