iOS does not have basic exploit protections and security features intact. They do not properly sign their releases, do not use have a secure update system, do not use verified boot, etc. They aren't taking privacy or security seriously at all. Industry standard security features are missing or even outright disabled. The starting point of LineageOS is where many of these issues come from, but it's a further step down from there for security.