Linux can be an insanely secure operating system with the right security implementations and configurations.
After all, is one of the reasons that Linux (and variants) have been widely used in data-centers and server environments.