Reasons not to build a "defence" startup: your work will directly or indirectly be used to kill humans.
But yes an absurd amount of capital gets spent on, well, defense!
1) Elect politicians who will not invade Iraq and Afghanistan.
2) Don't have a military and hope you're not the next Iraq or Afghanistan.