I think Italy did a version of this law against the
‘too popular’ Silvio Berlusconi.
No matter how many sex scandals, financial exposes or inappropriate alliances he had, Berlusconi remained popular and able to continue being elected to office.
The U.S. did a version of this after FDR was president-for-life.
It’s a good policy for a Republic to not get wrapped around a single personality.