Don’t know how to say this but no bashing update!

Please I don’t need the nasty comments or negative feedback I’m truly lost and don’t know how to handle this situation... I’ve been with my boyfriend for a year now... he has emotionally cut of from me etc and I was at a point of my life where I hit rock bottom... I started talking with a friend and he was my emotional support... I then started to develop feelings... I knew it was wrong... I told my boyfriend one night I needed to separate myself from him and our relationship I then walked out of his house.. I called my friend and told him I just needed someone to talk to... he picked me up and one thing led to another but I stopped it and told him no so no I didn’t sleep with him... the next day I went back and talked to my boyfriend... but I still feel like an awful person

UPDATE I wanted to say thank you to all the ladies that gave such kind words and made me not feel so awful about everything..