One can look at Vishnu as a doctor who appears whenever there is a disease. He restores health but does not stop aging. Eventually, a patient will die. The doctor’s duty is to help the patient live a full and healthy life. This is what avatars do: balance human demands with nature’s needs for as long as possible.