one of my friends is dating the girl i like :,,)

i’ve had a crush on this girl for a little over a year now and like i knew it was never gonna work out (she’s straight) but part of me thought maybe maybe maybe yk like i wanted to keep hope and i always felt that as long as she’s single mayybbee there’s a chance yk like there’d be much less of a chance of her liking me if she’s dating someone obv so i was pretty alright but i just found out today that she started dating someone i’m kinda friends with :,,,) like i’m happy for them n all and one of my other friends said he seems much happier now but it still hurts yk. this was more just to vent but any kind of advice or smth would be nice :,)