1. He spent all his life on taking care of sick people.

2. He spent all his life in taking care of sick people.

(Do we have to use "in" or "on"? Which preposition is correct?)

It would be better to leave out "in" and "on." If you must use one of them, use "in."