him is the object of the preposition for . We don't say "to care for he", but "to care for him". The fact that a relative clause follows is irrelevant.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.