he got a gf after telling me he loves me

alr so theres this guy in my class who had a crush on me an year ago and i thought now he doesnt cause he confessed to me in november 2023 and currently its december 2024. we used to talk alot and he used to show so much interest in me last year but then i got to know that its hurting my reputation in school and like everyone’s making fun of me because i just got out of a relationship then. so my bestf asked me to block him and i did then that guy started dated one of his exes on 25th of december 2023. they broke up in may and since then it was like breakup then patchup then again the same cycle used to repeat about every week. me and him were good friends at that time. in september they broke up again and they were not together for like 2 months so i thought its time i should tell him that i like him and i did and he said that he likes me too! we were in a sorta situationship but i made it pretty clear that i dont want anything right now because exams are approaching and he agreed to it. after a few days he was like that i like you so much please dont break my heart. after a few days, he started forcing me for dating or relationship and said he couldn’t wait. i got frustrated at a point that i said oh you go and date someone else, my studies are my top priority rn. next day he told me that he is w his ex again!!! i said okay and he said that i dont want her to know whatever we had. LIKE BRO THE AUDACITY TO SAY WE HAD!!! he never discussed or confronted that at some point its ended. he just told me that he is seeing his ex again and i dont want her to know whatever we had like broooo tf is wrong w you. i told him that you should tell her anyways you guys were broken up. i acted pretty chill when my heart was in legit pieces. then he said please delete a few messages that i tell you to delete which i said when we were in the situationship. i said just delete the whole chat and all. then he asked what about snap? i said ill make it easier for you and remove you. he said no please dont. i did remove him and we havent talked since but i miss him alottt and the fact that i cant say anything because he is committed alsoooo if i say anything, it’d be like that i care and i dont want him to know that i care. but then again idk what to do. we had an exam tomorrow and we didnt even look or talked to each other. not even in monosyllables and it feels so damn awkward rn. please help idk what to do😭😭😭