Did I make the right thing by cutting him off?

I was getting attached to someone on Snapchat who was not looking for a relationship while I actually was. We talked everyday, all day long, and we had nice talks, and I actually thought something was developing, but we were not in the same page. I was getting really attached though he never really flirted directly, which makes me even question if he even considered me attractive at all. Sometimes he seemed curious about me in a sexual way, though he was very discrete. He was always interested in talking and wanting to understand how I thought, which was completely confusing to me. But indeed I was looking for something real and overall in the app I noticed people are just there for something casual, and they didn’t even want to leave the app, which in my opinion is very weird, and may mean that you are some sort of a secret there.
So today I decided to tell the guy I couldn’t keep continuing our conversations, because I was looking for something serious. His response hurt me pretty bad, he said it was ok and apologized saying he was not using the app for dating and he couldn’t provided me what i wanted due to the current circumstances.
I’m sad honestly, he was my type in every possible sense (or what least that’s what my mind tells me), but at the same time I think I did the best for me and also abandoned the app. Did I make the right decision?

Did I make the right thing by cutting him off?
Post Opinion