Politics and Sin

I’ve been wondering… Why are politicians encouraged to leave office when they are caught in adulterous relationships? Does that affect someone’s ability to govern? Perhaps it can be argued that dealing with personal issues can distract from the job of governing our country, but I’m not really sure that’s the reason our leaders step down …