If your hope is in your broken marriage being restored -that is, you can’t see any joy or meaning in life without it — then your hope is contingent upon another person’s selfish and broken heart. And you have made marriage your idol.
If your hope is God – and your focus is centered on the joy and meaning in Him — then your hope is contingent upon a heart that NEVER changes, is ALWAYS who He says He is, and doesn’t make you earn His love.
Absolutely, God cares about your marriage. He has a vested interest in how it reflects Him! That’s what He created it for. But, He also never forces someone into submitting to Him, nor does He expect anyone to submit themselves to enabling sinful behavior. That implies that your marriage being restored, broken covenant that it is, holds no power over your ability to find wholeness and healing. Yes, it was a gift that might have brought a sense of joy, as gifts do. But, clinging to that gift makes it an idol.
God wants you to simply cling to him.
You desire to be emotionally healthy, and have healthy relationships? Let God be your life. You long for peace in the middle of all the chaos around you? Dump your cares at the foot of the cross. You weary of feeling lost and alone? Start paying attention to the ways He shows you his nearness and love every day. You feel compelled to love a prodigal? Do it as worship to God, leaving the outcome in His hands.
Let go of your idols. God may very well have you exactly where you are so you can become aware of what those idols might be. Turn your eyes from the gifts, and put them soundly upon the Gift-giver.
He loves you too much to let you go through the rest of your life putting your hope in an idol, even if that idol was designed to be a powerful reflection of Him.