Companies can build insecure systems (that are profitable) much faster and much cheaper than they can build systems that are profitable and secure.
It has been my experience that security is seen as a necessary evil. It's not seen as a benefit or feature that customers want. Security employees/consultants are often seen as road-blocks or obstructionists. I think this is largely why technical security has been replaced by compliance. Just check the box mentality. When they get hacked they can say, "but we were compliant and we'll do better next time".
IMPO, that basic conflict explains why systems are repeatedly compromised and why companies nor customers really care about good technical security.