Necessity makes an honest man a knave.
'The Serious Reflections of Robinson Crusoe' (1720) ch. 2
Necessity makes an honest man a knave.