Linux is more secure by design
Only the root user has access to the whole system and system files. And popular Linux distros like Ubuntu do not normally use a root account. So even if a user account got infected. One should be able to fix it through the root user account.