Most Helpful Guy
don't be sad because the relationship didn't work, be happy because that relationship end before too late. what a happened it doesn't mean you aren't lucky enough, it just mean he was right about what he said "you're amazing, but unfortunately he didn't notice that.
give yourself time and space and spend time to discover more about yourself.
Most Helpful Girl
It means he just doesn't want a relationship with you right now. My ex said this exact same thing to me and I found it helped me to let go of him because if one person isn't willing to put in the effort in a relationship, then the relationship is going to go no where and you'll just be unhappy.
Hope you're okay though, I know how painful break ups can be.1