You don’t lose the Sacraments by being divorced if you remain single and chaste. The problem would be if you were to enter into a new relationship.
I’m sorry to hear that your wife isn’t willing to work on the relationship. One thing you said, when she told you that you can’t make her happy. She was right about that. No one can make another person happy. She has to be happy herself. Sounds like she is unhappy and rather than choosing to remain in the relationship, she is abandoning it.
I will keep you in my prayers.