Fly into the face of danger

To take great risks.

The pilot was flying into the face of danger when he went to fight the forest fire.