Is it possible for a computer with an AMD processor to last more than 2 years?

I was wondering because I just bought a laptop with a Ryzen 5 processor and I heard on reddit laptops with ryzen processors have lower quality parts.
2 answers 2