Take a hike.
[Idiom] TAKE A HIKE. - Guide to Politely Telling Someone to Leave
Go away.
Take a hike" sounds outdoorsy, but it's often used to tell someone to go away or leave you alone, albeit in a somewhat rude manner. Originally a literal invitation for a walk, it has evolved into a dismissive phrase, suggesting that someone should walk away from the current situation.
Example Sentences
Why don't you just take a hike?
It means suggesting someone should leave or go away.
He told him to take a hike when he got annoying.
It indicates he told someone to leave when they became annoying.
After the argument, she needed to cool off and decided to take a hike.
It means after a heated argument, she decided to go for a walk to calm down.