to give sb / sth some opportunity to do sth
give sb / sth half a chance
That dog will give you a nasty bite, given half a chance.
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition