Can games ruin my laptop?

I'm a student and I just had a new laptop for New Year. I used to have laptop which is a secondhand bought and I download a few light games like Valorant and League. After 4 years, the laptop finally give me the blue screen which my parents and uncle suggested me buying a new ones instead of fixing it. Now I have Asus Vivobook and the spec is :

i5-12500H, Win-11, 16GB, Iris Xe Graphics

I do not want to do the same mistake as before and wanted to hear expert advice on this matter.