That's why he was able and willing to screw you over like that.
Here's a brief overview: http://www.sociopathworld.com/p/portrait-of-sociopath.html .. but the rabbit hole goes pretty fucking deep.
While I sympathize with your situation, it serves as a good reminder to others that you should put off having kids until you're financially secure.
On a more positive note, just "fake it till you make it", and everything will be alright. There are plenty of dev jobs out there.