I’m sorry OP but I agree with those that have already commented.
I am your wife in my own marriage at the moment - we are at the tail end of the divorce process now.
For 3-4 years I tried to discuss and fix things in my marriage, suggested relationship counselling which was turned down and had increasingly serious conversations about my (very reasonable) needs and how they weren’t being met.
When I told my husband I was done he said he was “blindsided” and begged for six months to make changes and go to relationship counselling. He was extremely upset that (his words) I was unwilling to “give the marriage a chance”. But I’d been giving the marriage a chance for years already…
He said he “didn’t think I was serious” when we had serious conversations previously. Honestly - IMO it’s just laziness, taking me for granted and looking for the easiest possible route for himself. Assuming it will ‘just go away’ because that’s easier than making changes.
Its completely selfish and self-centered - basically hoping if you just ignore what the person you supposedly love is begging you for, they’ll eventually just give up and you won’t have to change at all.
Unfortunately, like my husband, this is a life lesson you’ve now chosen to learn the hard way. It could have been different but now you have to accept the bed you’ve made for yourself.
As I explained to my husband - it can’t be fixed now. It’s like sitting back and watching coastal erosion for years and then saying you’ll put protection in place. It doesn’t put back what’s already gone, but instead of sand what’s gone is love.
In terms of advice, you just have to accept the current situation. Apologise and admit what you’ve now realised. Go to therapy and work this through so you can avoid doing the same thing all over again next time. That’s what learning the lesson looks like.