I feel like I failed as a mom/wife

Title says it all. I tried to make french toast for my husband and daughter today. Well it started burning and my husband's mom has told me Mija how are you supposed to cook for your children and husband if you can't learn to cook. So now I'm on the verge of tears because I failed. We are supposed to be moving next year with his family. We talked about what will happen when we move if I get a regular job he stays home with our children ones a toddler and one will be 3 or 4 months when we move. Well if he works with his dad since we are in the process of fixing my husband's status here I will stay home with our children. If I can't cook for shit and I stay home with our children they will basically be eating store bought food until my husband can come home.

I feel like shit and don't want to eat now. I'm 2 months post partum so maybe I'm still either hormonal or depressed. Please let me know what you would do in this situation.

EDIT: Idk what else to do my husband and I have been having issues lately and when I tried to file for a divorce he begged me not to and I gave into him. My husband's mom has been good to me but I can't take it anymore like I need a break. I never had a good mother figure I found my dad dead at 4 1/2 years old, my bio mom was addicted to drugs. I was put in foster care and it was hell I was adopted twice and both adopted parents were abusive.