Boyfriend ditched me while going through miscarriage

We woke up early today to go out to eat and hangout. His friend ended up calling him and he ended up dropping me off at home to give his friend a ride to his girlfriends house. I really needed him. He saw nothing wrong in what he did. I just feel so alone in this. I’m laying in bed in the dark and I blocked his # due to him calling me constantly. I needed him THEN. I’m hurting physically and emotionally