My husband called me a slut.... Was I wrong?

My husband and I have really been struggling with money. We have 3 kids. One is 15 and he's severely autistic. He is nonverbal. We have had no money and we made like 10 dollars over the food stamp limit. My husband has a gambling addiction and gambles all our money away. We had no food in our fridge and I was hungry at work. There is a guy who is a single dad of 5 children. He's a very sweet person. He heard me crying on the phone with my mom about everything and asked was I okay. I said I'm fine and he said "What do you need." I said everything is fine and he gave me his food stamp card and said "There is 200 dollars left on here. Go get what you need." I tried to say I couldn't and he said "Almost all our coworkers has had my food stamp card at one point. I already went shopping. We are good for the rest of the month. Go get what you need." He kept insisting and I said okay and kept apologizing and said I'll pay him back whatever I use and he said "Stop before I put my foot in your mouth. Just get what you need. You don't have to tell me what you buy. Don't worry about giving me anything back." After I got off I went home to my husband and explained what happened and asked what we should get from the store that can last until he gets paid. Not too much of course and he got mad at me and said how dare I take money from another man. I explained that he's done this for our other coworkers. Both male and female but he called me a slut who wants other men's attention. I started crying and sat in the car. Maybe the next thing I did was wrong but I still went and bought groceries because my kids needed to eat which made him more mad and he told me to sleep in the car.. maybe I shouldn't have accepted but we had NOTHING. Did I really deserve to be called a slut?