Meaning of the word "keep your nose clean" in English

What does "keep your nose clean" mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

keep your nose clean

US /kiːp jʊər noʊz kliːn/
UK /kiːp jɔː noʊz kliːn/
"keep your nose clean" picture

Idiom

to stay out of trouble or avoid doing anything illegal or wrong

Example:
After his release from prison, he promised to keep his nose clean.
If you want to succeed in this business, you need to keep your nose clean.