Happened to me several times. Took some bags of food, once, to some homeless guys. I'd actually hidden about 10 bucks in the middle of the bag. They glanced at the bag, rolled their eyes, and tossed it to the side of their pile of "stuff". Totally didn't care.
Another time a guy asked for money and I told him that, unfortunately, I didn't carry cash but I just so happened to be taking a gallon ziplock bag of change to the bank and offered that to him. Same sort of disgust you experienced. He walked away without taking it which left me thinking he wasn't really in need.
But then, the family we met last year? The husband was desperate for a place for his family to live. They were living in their car and he'd lost his job because of Covid. We shared our lunch and told them about the local mission. Our mission gives food, clothes, and if you stay overnight there's Bible reading/study...the latter is why, I think, many homeless refuse to take their help. They don't want to be "preached at", get help for their drug addiction (one guy flat-out told our pastor he didn't want to go to the mission's shelter because he didn't want to give up the drugs), or be required to look for/get a job.
Anyway, I'm not sure where the family went after that but I think about them/pray for them often.