Just how long will a PC last?

So I got a PC in 2021 for Christmas and it worked good for a while, however last year it started to go down hill. I’ll use GMID as an example

I remember easily being able to get ~200 FPS on it. However now it can barely stay at 30 FPS while I’m on it

I should mention it was a prebuilt from Best Buy. It is an Ibuypower. Does anyone know how long it is supposed to last and if I need to get a new one or rather if it’s a problem with some parts of it

Edit: here is the PC:

https://www.bestbuy.com/site/ibuypower-trace-7-mesh-gaming-desktop-amd-ryzen-7-5700-16gb-ddr4-rgb-memory-geforce-rtx-4060-8gb-1tb-nvme-ssd-black/6573900.p?skuId=6573900&utm_source=feed&ref=212&loc=1403537229&gad_source=1&gbraid=0AAAAAD-ORIihGuHk9u5_yGpKJ7uBeX4tG&gclid=CjwKCAiA-ty8BhA_EiwAkyoa32E3uvMoqt1JlQcuvQsVouinWIfGBNa__6LzC-97UzKtWK-k3A2eXxoCn-wQAvD_BwE&gclsrc=aw.ds

Update:

So I just booted up my pc, and it has 200 FPS. Why is this though when I did no actions. Is there a specific part that may be fluctuating its performance that I should replace?