alkalom szüli a tolvajt

Etymology
. lit. '[the] opportunity gives birth to [a] thief'.

Proverb

 * 1) opportunity makes the thief