Cheated

So im going to tell you a story too see where it went wrong please help me .

Ok so i started working at this place and i had a boyfriend of 5 years things where ok.

So i meet this hot guy at work and he tells me his married and having problems i give him advice etc and we became friends.

He has a fight with his wife and she kicks him out and me as a good friend i tell him he can satay at my place he agreed and one thing let to another and we fucked for like 3 days . During the 3 days he will tell me that we will each other a chance etc 5 days later he is returned and with his wife and me well no bf alone !!

Update - Thats the problem is he tolled everything to the wife and she still took him back which i thought she was not going to do but than again he said we where a mistake that he did it all because he was angry and he never liked me and to just let him go but i mean i love him and he said he never liked me and he just tolled me things i wanted to hear. I asked the wife why he took him back if he did that he was just going to do it again that men don’t change and she said because it happened when. She left him and for her it don’t count. And he just ignoring me he quit the job and now i have to quit because at work all his friends know i feel like crap. I mean who forgives cheating my bf did not