Why is cyber security not working?

The recent ransomware attacks have increased awareness in the general public on why we must protect and value our data.