My Husband Divorced Me for Online Flirting

My husband caught me flirting with another man. It was wrong, I know, but I was just having fun because the man in question wasn’t in Ghana. And the conversation we had didn’t go too deep, but it wasn’t the kind of conversation a woman—a married woman, for that matter—should have.
I begged him to forgive me. I explained everything and accepted my fault. I went down on my knees every night before him and before God, asking for forgiveness. “I did you wrong, I know, but this man isn’t here, so nothing happened,” I said. He retorted, “How can I trust a woman who can have such a conversation with another man? Even if it didn’t happen, it means it would have happened if he were around.”
I’m now single.
He left me without thinking twice. Our son was only four years old. To hurt me even more, he tried to take our son away from me. The only advantage I had was that he didn’t have the time to take care of him, so the court decided I was better placed to have the child.
I was divorced for talking to a man I had no intention of seeing or being with. Marriage gets lonely sometimes. You go to work in the morning and come back home to continue with domestic work. Husband would watch TV all night or stay on his phone. Going out on a date all of a sudden becomes a waste of money, so you’re always indoors—doing chores, sleeping, or tending to a baby.
So I took my talking self elsewhere, with someone I thought was ‘safe.’
He has brought me back to my parents. Four years ago, it all ended. I’m sharing this because of some comments I read on the story shared hours ago. Some are saying she didn’t cheat, so she shouldn’t feel guilty. Others are saying she didn’t knack him, so it’s not that bad. I was divorced for less—because emotional cheating is also cheating.