I’m having a hard time sleeping

Ever since me and my bf broke up, I have hard time functioning. Yes, I was the that broke up with him. I unfollowed him off of everything. I didn’t delete our pictures. He was in California when we broke up. He was not answerring any of my messages and I was just so done. I sent him my last paragraph and he never responded. But before that I sent him like so messages 20 messages and he just didn’t acknowledge it. I’m so sad. I know the saying if he cared about me, he would’ve answered me. He always said to never end of on bad terms stuff like that. I told his sister yesterday officially. Me and his sister are very close. I’m close with his side of the family sisters and cousins. They knew he was in the wrong. They care alot about me and told me to leave the relationship numerous times. She was telling me that he only answers when it’s convenient for him and that’s true. 3 years with someone and leaving definitely hurts. I’m just thinking if he is ever going to text me. It’s been 10 days now. I really wanted closure but there’s no closure needed when someone treats you poorly all the time.