Survivorship bias explains that. The list of dictators-for-life does not include those who don't become dictators for life.
I'd suggest that term limits are party of a package that rests on strong public faith in democratic institutions. E.g. Macron is about able to hang on, but i doubt he could stay past an electoral defeat because he presides over a nation that won't tolerate it.