Definitely know where you're coming from. I work as a developer in a government job that is unionized, and even though the salary is less than market rate, the security of it keeps me there. If such opportunities are available wherever you're located could be worth looking into. While there are aspects of a gov job that can be boring, overall it's actually been really interesting and challenging work.