Need advice

So my husband packed up and left Sunday and then yesterday told me he expected me to beg for him back. He has never helped take care of our daughter and games constantly and barely spends time with me. I have an appointment tomorrow with a lawyer. He told me yesterday he wants a chance to try and he will change. But we have been together almost five years and we have had this argument before and have slipped right back into the same routine. I feel like we have just been going in circles our entire relationship. Any advice?