How do I help my partner overcome depression over not having his kids by his side all the time?

My partner seems to always get depressed over the fact that his kids have to see and go through the divorce process. It's especially when the mother of his kids keeps making him feel bad and using the kids as an excuse to get back at him. I feel like just telling him to go back with his family and forget about me.