I hate myself for making such silly mistakes in my life

I hate myself for making such silly mistakes in my life. Im still in love with my ex boyfriend, i stupidly broke up with him for his best friend. Now his best friend has left me, and my ex has a new girlfriend…. Didn’t stop him sleeping with me again!!