He asked another girl out

This guy and I have been talking for a while now, it honestly seemed like any day he was going to ask me to be his gf as he said he liked me.

But I just found out that he had asked another girl to be his gf. A girl that he been liking for a while now (just found out), but she said no. He randomly popped up on her dms and asked he,months after of not talking. She said no because she thought him and I were already dating and she didn’t want problems.

He doesn’t know I know, I’m cousins with the person who told me who is cousins with the girl he asked out.

I honestly feel like shit. He told me he really liked me after she denied him. Which made my heart numb, I can’t even cry. & my self esteem & confidence is on ground. I feel stupid.