🤷🏽‍♀️ I confused

So.....my now ex got extremely upset with me the other day. Well let be back up. A few days before he asked me had I slept with another guy during the time “as he said” we were not together. So being the woman I am. I tell him the truth and said “yes but its not what you think”. He continues on asking questions of who and when..... I’m like why dose it matter? It’s not like I cheated or something. However, he blew up calling me every name he could think of and then said that he loved me even more because I told him the truth. I’m looking like 🙄 oookkk.... and your point is? Long story short, he threw that mess back in my face the other day calling me a hoe and whatever else he could think of. Say that he is done with me and I turned out to be less that what he thought......But I’m trying to figure out did I actually do something wrong....? I just need someone’s input on this please......