First of all, you can't KEEP him from doing anything. That said, you can do two things. First, you can work on being a self-contained person who doesn't NEED him to be happy, and second, you can REALLY address the issues of your marriage so that maybe together, you can work on them instead of either of you running or hiding from them again.
Now is the time when you have to decide what you want. Do you want to save your marriage? I think since you've stuck things out this long, you do. That decided, see above...
I have to admit to starting my reply before reading the whole post so I didn't see...
he's left over 10 times in the last 7 years...
Wow. Well, I'd say HE has some serious issues beyond any marriage issue you have together to have left and come back that many times. You'd think he'd either stay or go...at least commit to THAT (lol)!