míng​zhī​shān​yǒu​hǔ​piān​xiàng​hǔ​shān​xíng

to brave known dangers

明知山有虎,偏向虎山行 míng​zhī​shān​yǒu​hǔ​piān​xiàng​hǔ​shān​xíng
to brave known dangers
to willfully go into danger despite being fully aware of the risks; to take a risk in spite of knowing the hazards; to be undaunted by difficulties