False.
Malware can infect your device through various means beyond downloading corrupted files. It can exploit vulnerabilities in software or operating systems, be distributed through malicious websites, emails, or even come pre-installed on compromised hardware. Additionally, malware can spread through infected USB drives, network connections, or via social engineering tactics, without the need for a user to download a corrupted file explicitly.