I don't know what motivates everybody, but I suspect, "how will the HISTORY BOOKS remember them" does not rate particularly high for most people. I do not think the imagined potential judgment of history provides an especially strong incentive for elected officials and similar to not engage in bad deeds.