Aww, I'm sorry you are hurting. Thank goodness he did have the courage to tell you the truth. And it's very mature of you to recognize that there were red flags there and long term, he might not be the man for you.
But being the one rejected does hurt! I get that. I hope you can still be friends if that is what you like. It might make it easier right now to be able to at least say hello and find out how each other is doing.
Eventually that might be become awkward and the friendship can die a natural death. But for now, it is sometimes hard to go cold turkey with not talking to him.
Choose what makes you heal and hopefully you'll feel better about his decision soon enough. ((hugs))