I don't think you did the wrong thing. I think you made a lovely gesture that would have been very much appreciated. We often miss opportunities to make other people's lives better, or just to cheer up their day because we are afraid of causing offence, so don't reach out as much as we could do, and I'm just as guilty of this as anyone. Little things often give so much pleasure. We stopped at the gateway to our allotment one day, when the strawberries were in season, when a young woman with two children stopped along side the car which must have smelled overpoweringly of strawberries, one of the children asked what the smell was, and I said "these, look", holding out a large container of berries, which I handed to him and said to take them home for tea. His little face lit up and said "really!!". They thanked me and we drove on home. Such a little thing to do. On other occasions, if I've picked one or two bunches of flowers I've given some away, usually to older people that I might meet, saying that I had to pick them or they would have gone over, but that I really don't have enough vases to cope with them, and could they possibly make room at home for a bunch. It costs nothing and brightens someone's day.