I’m a little sad over this

Me and this guy have been friends for awhile and we ended up hooking up and little did I know he got into a relationship with another girl the next day I feel really bad about myself , whenever I like a guy they always dump me for other girls . :(