That is very unfortunate. I would not stand for this behavior either. But before you leave it is often life changing to try couples counseling for a while. You can present the issue of his inappropriate behavior and see where it goes. If you are concerned about losing the kids this would be an option. If you don't want to attend, then there is individual counseling to get past the heartache of what he has done. You may be able to save your family. Also address the issue of situational depression on your own. This may help to clear your head and make an appropriate decision. If you talk about this as a couple, decide if you two can move past this on your own. He may be genuinely remorseful about what he has done. Find out the reason before you decide if you can forgive him.
If this has been helpful press accept