A hint of Rochefoucauld in Anton Chekhov’s The Duel (pg. 212 of the Everyman Complete Short Novels, Pevear and Volokhonsky translation):
Only honest people and crooks can find a way out of any situation, but somebody who wants to be an honest man and a crook at the same time has no way out.