My boyfriend of 9 years just up and left without a note or telling me it’s over. I had a dream where he came to me gave me a hug and said sorry what is that about
You are most likely still emotionally affected about how your boyfriend of 9 years went about leaving you. Thereby, you have had him in your thoughts quite often or at least, to some degree.
These are thoughts that can easily become lodged in your subconscious mind after a while.
In dreaming that your boyfriend gave you a hug and said that he was sorry, your subconscious mind was more than likely exhibiting an innate desire that you have.
There is a part of you that may want real closure after the way he left.
The dream that you had may be your subconscious mind reflecting that desire for closure by having your boyfriend hug you and tell you that he was sorry.