This is true discarding a good gaming laptop can be very costly, and some computer repair shops charge a lot of money for virus removal from a virus someone got by connecting to a criminal's wifi connection which redirect people to a website with a virus. Sometimes viruses like ransomware can lock owners out of their computer, so they can't use their games, software, etc until they pay a ransom, or can remove the ransomware.
A few cheap Windows 10 laptops sometimes come with a better paid antivirus program which works better at protecting Windows10 than Windows Defender which had a lower virus detection rate according to
Test finds Windows Defender merely "satisfactory", far from best protection - MSPoweruser , so using the paid subscription of McAfee, Norton, Nod32, etc maybe better than using Windows Defender antivirus.
Some cheap laptops also come with Linux based operating systems like Linux Mint, Chrome OS, and Android which is less likely to get viruses when browsing the web compared to using Windows and Internet Explorer to browse the web.