It failed from a series of unfortunate events. The problem I have with getting re-married is the way I handled the divorce. I was destroyed by it.
I can understand that. My ex did a runner shortly after the separation. I did not see my children for 15 years. God had cleansed my heart from all unforgiveness, bitterness and resentment by that time. I found them by a miracle. When I saw my ex again, it was emotionally neutral, as if she was just an acquaintance that bumped into. I rarely see them as they live a long way off.
I have not remarried. It does not bother me. I have a lady friend. I'd marry her if she would accept, but that's not likely any time soon. We are the best of friends and I've known her since 1983.
One important step in the healing process is to forgive yourself. The blood of Christ has paid for your part in the bust up. So God has forgiven you. Let Him help you to forgive yourself as well as others who have hurt you. I had a list. My ex, of course, and the people I thought of as friends and brethren. Some of the reactions were just salt in the wounds.
You will find help in this article. It's quite long, but the principles saved me much sorrow and grief in my situation.
https://www.christianlife.org.au/can-you-forgive-from-your-heart