Give (someone) enough rope and he or she will hang themself

Give someone enough time and freedom to do what they want and they will make a mistake or get into trouble and be caught.

“Don`t worry about trying to fight him. If you give him enough rope he will hang himself.”