It is not certain that a person infected with HIV will live only for 5 years or 10 years or 12 years. It varies from person to person and how well they are taking their treatment and how well their body is responding to those medicines.
The AntriRetroviral Medicines keeps check on HIV from multiplying. However, at one point of time, HIV takes over the body and turns into AIDS.