F1 has signed a 10-year deal with the central-east African country of Rwanda starting in the early 2030s which will be a first race on the continent since 1993.
The seven-time world champion is battling to finish second in the drivers' championship this season and has proven that he can still compete at the highest level.
I never want to overstay my welcome in the sense of not having the performance, Hamilton added.
Lewis Hamilton says he is unlike any driver Formula 1 has seen before and reaffirms a determination to keep racing into his mid-forties.
Alonso turns 46 next summer, and hinted when he announced his new contract last month that he is likely to continue for at least another season beyond that.
Hamilton said he has proven that he can still compete at the highest level.
Hamilton is battling to finish second in the drivers' championship this season.