First time being alone in 4 years

Today I’m officially single, friendless, and by myself. Boyfriend got sick of me so I had to tell him he can stop bullshitting me saying he’s happy when he’s not anymore. And prior to that My best friend abandoned me so I never made friends afterwards because I was so hurt. I’m a loner now and I don’t have anyone who cares if I’m alive or not accept my family. School is not going well, and honestly I’m really just wondering why I even get up now. I’ve been so used to spending all time time and energy on a person that they always leave. And I’m always ending up here alone and miserable.