I need strength

Harp
Hello ladies 
So my ex and I broke up in August. Well I broke up with him because he was being rude and childish. He is 39 and I am 26 and we work together. We were dating for about 20 months. Anyways, when I broke up with him, another co-worker and I started talking. Only talking. He was very sweet and genuine but he's married. To make it easy, let's name my ex Andie and the married guy David. The same day I broke up with my ex was the same day I went out with David, during work, on a short lunch. I of course cried because I was hurt. David just sat back and watched me and gave me advice. He even told me he cheats on his wife. I wanted to laugh and I kind of did. He wasn't  insulted only because we get along so well. I haven't judged him til this day because he is genuinely a kind-hearted person. So over the course of the next few weeks, we started talking more. He treated me so much better than my ex. Of course we kept it professional at work. Soon we ended up having sex and I loved it. So much better than my ex. David, was so fun. It was romantic and dirty at the same time. At the end of the day, I still had feelings for my ex, Andie. David and I haven't had sex since October. I slept with Andie, my ex only 3 times since August. in December Andie started to get suspicious that I was talking to someone so he asked for my phone. I refused and he called me a liar. And hasn't spoken to me since.  During August through December, I really wanted to make the relationship work. Turned out, in december Andie was already screwing someone from work. I'm not sure for how long but it tore me apart. I'm so angry. I heard from work that he's already so "in love" with this new girl. David knew, since we have always been honest with each other and he said it's okay and told me to forget bout him and told me that David has always been using me for money and sex and he's been lying to me. I approached my ex at work today and told him how angry I am at him for already finding someone to sleep with when he was being a hypocrite and telling me shit. I hate my ex so much. He simply walked away from me without saying anything. I'm so hurt and aggravated. I can't stand the site and presence of him. I need to move my desk to another place in the company. Please ladies help me. How can I regain my strength? He is so much worse than me. This was my first true relationship and he's been through so many, especially messing around at work.