Feeling guilty about breaking up and losing son

I know I have to leave my relationship but I feel like I’m leaving my son 💔

I am a sahm and homeschool, so I am with my kids 24/7. If I leave my partner, I will have to give up time with them and also have him be with my awful ex in laws.

I just don’t know if I can handle all that. But If I stay I will be unhappy and just keep wasting my good years. I don’t know what to do. This is so hard 😢 💔