Me and him have been friends for over a year now and we formed a strong bond really quickly. He became my self space in an instant and I knew I could always count on him. Then in February of 2022 he asked his girlfriend to get together with him. And she said yes. Right from that moment on We nearly spend no time together (in contrast to the 3-4 times a week i was at his place because i hate being home [fighting parents ect]). Only texts or school but after that, he was always at her place or she would be coming over. When he started to read but not reply to my texts I was asking him why and he always told me he forgot. Then I just tried to emotionally detach from him by avoiding him because I couldn’t bear his not caring. I tried to just stuff my feelings down which made my mental health worse again.
In June I confronted him. I told him that if he wanted this friendship, he should act like it and don’t set his priorities all on his girlfriend. Then I asked him if he even wanted this friendship and he said that that was out of question and I told him that it didn’t seem that way because he basically acted like he didn’t know me and he didn’t care about my feelings. Then he said that it “doesn’t really matter now anyways cause it’s summer holidays”. At that statement I started doubting everything but I didn’t tell him. Can we not write or meet up between vacations?
Somewhere in the middle of summer holidays he wrote me and needed my help which I gladly did. He was concerned and confused about the actions of his mother and feared that she would basically disown him if he flew back early because he didn’t like spending vacation with her anymore. I was on his side and tried to check up on him as much as possible and he also wrote me a lot. Then when he arrived at home again, it started to go south for me. (We basically came home simultaneously). I wrote him that I was angry at myself for messing up my 3 months self harm streak and that I feel very unsafe. A few minutes later he read the text. And he never replied. Later that night I forgot my temper and got angry at myself for being so time consuming apparently and hit the wall which caused my thumb to dislocate and I had to go to the ER. 
Exactly one week later (three days ago) he did reply but turns out he wouldn’t ever have replied if it wasn’t for his own benefit because his real question was if I had something that I would rent him which I honestly said no to. Then He asked me why I was awake and I asked him back why he takes seven days to answer and he said that he forgot.
After that he said that he needs to set his priorities straight with his girlfriend and that he wants to make more time for his friends. But he doesn’t answer me now. He doesn’t have time when I say that I want to meet up and I have time everyday so there are no limits on my side. He said that he didn’t have time. And again. He is ghosting me in school, replying to my texts 8 hours later because he was at her place and he likes my tweets but doesn’t answer my questions. 
Now am I wrong for being angry at him and not wanting to try anymore after he basically lied to me twice? My self doubt is killing me and I want to have an honest feedback