The Prophet said: "You will be keen for governorship but it will be regret and loss on the Day of Resurrection. What a good position it is when they are alive, but how miserable their state when they die (and leave it behind)."
Sunan an-Nasa'i Book 49, Hadith 7