Thought about cheating

When i was 20 i met this guy at university and when we got together i thought he was the guy of my dreams and then he cheated on me........ i felt so destroyed and for a while i thought about cheating on him and i started to develop feelings for his friend. We never did anything, we were strictly friends, i guess it’s because he was just so nice to me and actually made effort! I never acted on these thoughts. I sat back and thought to myself “im better than this” and it took a long time to finally leave him and the abuse i went through. I have never told anyone this, i felt like this was more of a safe place and im glad it’s here.