Given the current state of infosec, any OS that has not received any security update for a year or two is doomed to become a sitting duck for malware. Device security is a whack-a-mole game where new vulnerabilities are found daily and security updates are the only way we have to keep our computers secure.
In a perfect world, UI-and-features-related updates would be optional while security updates would be seamless. Also in a perfect world, older OS releases would receive long term security support and you should not have to upgrade to a more recent release to be secure.
Alas, we do not live in a perfect world. Apple doesn't provide any easy way to accept security updates but refusing others. Android just doesn't seem to provide a seamless update experience, either for security updates or not.
So you should really apply security updates, and if it takes getting other updates for that, then so be it.