This used to be the case, but modern Linux distributions such as Ubuntu, Fedora, and Linux Mint come with many features that make them very secure too!