You aren't a bad person - just a little naive maybe.
It as long time since I've been single but in my experience people, whether male or female, who used to come up and say "My friend thinks you are really nice... " or whatever usually ended up enticing me to make a fool of myself. They were either trying to embarrass me or their friend, or work out if I was trans, or trying to do someone a favour - but whatever the reason it never seemed to work out well for anyone.
Moral of the story - dating is a strictly one to one activity - any third parties getting involved, for however noble a reason, only causes trouble.
I'm so sorry that you had to face such a rude and hurtful response though. That can't have been nice. But don't beat yourself up cos you obviously meant well. Instead perhaps learn the lesson that tyring to do favours for people in the dating game is a dangerous and often thankless task - in fact one probably best to avoid!