I have 40 year experience in developer, systems and security.
The real problem comes from the top. Upper management, CEO, CIO, CFO do understand risk and don't understand technology. To them, security wholes are just bugs in "the code" or product liabilities in products used.
More then once I showed management they had a life ending bug. (Little Johnny drop tables) and was fired for being the messenger.