Or, at least until the "Star Wars" funding dries up, as was the case with me. Invest a career in DOD at your own risk!
Sorry that happened to you. I know people who've been continuously employed by DOD, mostly contractor types, since the early '80s, at very good salaries. I know people who've had to move a few times, but don't know anybody who's lost a contract who didn't find new gainful employment in short order. Sounds like you were unlucky.