A better comparison would be: to avoid theft, don't build your house out of toothpicks that can't support a deadbolt door.
Security has 2 problems--technical and social.
The technical problem will eventually get solved as transistors are almost free. We are integrating hardware accelerators into almost everything since transistors are so cheap.
The social problem isn't so easy. Companies don't give a crap about security. Only when companies start losing 25% of their stock price after a breach will they care.