$1.5T isn't a solution, it's the problem. Hackers succeed because they have scant resources, and defense contractors fail because they have nearly unlimited ones.
You're right. But spread that out across thousands of small teams and I'm sure the outcome would be greater than what we're seeing here. Having some competition among teams would also help - the big defense contractors aren't so much competing against each other as milking the government.