Such is life, some times, things happen to build you strong for the future.
I wouldn't say that guy deceived you though because, the letters were written boldly on the wall that he wasn't into you but you just didn't want to be alone. So you decided to turn a blind eye and continued with situationship.
The right man will come for you at the right time, thank God you have learned to love yourself which is the ultimate thing to do.