I feel so stupid

I've been talking to someone who I honestly thought was so decent and so good to me, the perfect guy. Wanted everything I want, I was insanely attracted to. But he started ignoring me and I said if he's lost interest he can just let me know, went back to not talking much so when I said I've got the hint he didn't wanna chat anymore I didn't hear from him again. I feel stupid because what if that was my only chance at someone great? And I just let him walk away? What if I start to regret not fighting harder idk. I just need someone to give me some objective advice. Maybe I need to be alone for a bit and focus on myself more before jumping into anything else. Or have I been a pathetic idiot and a typical girl😞