I would say 'to those who' in all of your sentences. For is probably correct too, but the meaning is somewhat strange then. For those who needed food, I gave them some food.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.