Better off walking away???

Recently reunited with an old guy friend...we never dated just grew up together. Back then he was nice to me but that was all. So he reaches out to me via Facebook and says how pretty I’ve gotten and how he’d love to reconnect. He’d be luck to have a girl like me go out with I’m like I’d like to get to know you before we go out. Cause I’m not randomly going out with you if we’ve not seen each other in 20yrs. So we Facebook back and forth and he ask me to spend the night says nothing sexual just a night together. I’m like nope haven’t met you and I’m not into hookups. Long story short he’s now pissed and I’m think all he wanted was to be an fboy. I feel so stupid. Am I wrong for walking away???