I can only imagine the agony you are going through. I hope that this experience is getting you to cry out to God for relief, and getting you more into the Bible, and I'm thinking of Proverbs. I pray that God will give you wisdom and strength through this experience.
It sounds as if your hubby is really an unbeliever. Paul wrote in 1 Cor. 7 that if the unbeliever wishes to leave, let him leave (that is, divorce), because "God has called us to peace." If he is unwilling to make necessary changes in himself to repair the relationship, then it is clear evidence that he doesn't believe in God's willingness to change his desires to something better than he currently has. In other words, it sounds as if he is lazy and undisciplined, and just wants out of the misery he thinks he is in, and has no more patience for his family. However, he did one good thing for you by warning you that you should get a job in preparation for his leaving you and the children. It is possible he is sorely afraid of his own sin, hurt, and rage, and unwilling to confess it to a counselor because of his unbelief.
Yet, God can do miraculous things, and He works in mysterious ways. Keep praying for him, and serving him in the best way you can, and perhaps God will grant him repentance that leads to life. But if he finally leaves, then tend your prayers to yourself and your children, and let him go his way.
TD