I need advice I'm 39 weeks with my second child

I guess I just need some support right now I am literally due any day and my husbands father just met with me to tell me my husband gambled away all the money and hasn't paid any bills we are about to get evicted, lose car, everything.... I have been a stay at home mom since my son was born almost 2 years ago needless to say I have nothing!   How can I trust him now... He couldn't even talk to me himself he had his dad do it for him... I don't care if he's broke but I spent so much money on things I didn't need when I thought everything is fine.  I'm so confused I told him I needed some time to think about things he needs to take care if himself and figure out how to pay the bills or find another place idk I hate to leave him while he's down but I have kids now to think about.  I wish he would have told me this 6months ago when he started gambling again and we could have solved this then.  Any advice please would be appreciated.