How about Jimmy Carter? Morally speaking, he was squeaky clean. But few people liked him as president, in spite of the fact that he was for 7 years a career officer in the USN, holding the rank of lieutenant and specializing in nuclear propulsion training and operations for submarines of the Seawolf class. Also he was, and still is, a devout evangelical Christian who has dedicated his life to charity.