idiom
Sail close to the wind
Meaning
To take risks or act dangerously.
Example
He’s **sailing close to the wind** by lying to his boss.