Hatim al-asam رحمة الله عليه said:
There is no one who will regret more on the day judgement than a man who taught people something beneficial but he himself did not act according to it. So the people acted on it and won but he himself was destroyed..