My wife finally left me

This is mostly a vent because I need to get this out of me. My (36/m) wife (44/f) left me moments ago. The reason? Because I am good man, because I accepted her fully and because she could always depend on me. She let me know that all these things made her feel like she could not take care of herself and that I need to be with someone that can be good to me. I love my wife, I cherished our marriage, I was devoted....so that's why I get dumped? On her way out she hugged me many times, told me she loved me and asked me to be willing to get back together with her whenever she is finished working on herself. She wants to be a good wife, but for some reason can't and needs to be alone and away from our marriage.

Tomorrow, we were supposed to move to another state 14 hours away. We have a home waiting for us, a new beginning, etc. I get to now go and live in a 4 bedroom house by myself. I know no one there and my family is very far away, wtf is happening? Last night, was good, we even had sex. She woke up this morning and decided to walk away from our life together, I just don't get it.

I'm going to be destroyed for a bit, I will mourn our marriage. Once I've had my time to grieve, I will keep lifting my weights, eating well and advancing my career. I am sorry that I was a good man.

Edit: We do not have children together and regarding the move, I told her months prior we did not have to move and could stay where we were.

Edit2: I have no plans on taking her back. I will give her time and will be willing to talk to her in a few months once I am healed and in a better mind set. We have been married for 5 years, I’m ok giving her a chance to talk to me but no, I’m not taking her back.

Edit3: Some more context, she’s at an age where perimenopause begins and it’s causing all sorts of disruptions in her thinking. She’s depressed a lot.

Edit4: She’s not going off to go live with some guy, she’s actually staying in her parents place near where we used to live. Doesn’t mean she isn’t cheating but she didn’t run away with some dude.

Update: Today I’m moving away. Her and I have been talking all morning. Sort of the same stuff. She’s overly concerned that I won’t be available when she’s done fixing herself. She told me she would could say goodbye before I left, but I declined. It’s too hard to see her right now. She’s been telling me she loves me and she’s sorry

Update 2: I moved away, officially in a new home. It’s crazy to be in this big house by myself with absolutely no one to share it with. I’m crushed. She’s been telling me how sorry she is and that she’s really messed things up and that she’s going to lock in go to therapy. She will get on hormone medicine and try to be the best person she can be. She wants to be a good wife to me she says. It’s all so confusing. She’s agreed to pay half the bill for the home for the next year (will get it in writing) so there is that. One thing is for sure, this house will look like shit, I’m terrible at decorating lol.