Either one is OK. Work for the family = you are employed by the family, or you work to benefit the family Work for the sake of the family = you work to benefit the family, perhaps making some sacrifice of your own.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.