The idiom "with one’s tail between one’s legs" means to be ashamed or embarrassed about something (like a dog that’s been scolded). Here are some examples
Pull someone's leg Idiom - 19+ Examples, How to Use, PDF, Tips
3 Common Leg idioms – Pull someone's legs, No leg to stand on, Have legs
Oyster English Blog New Site Updates
Break a Leg Meaning What Does this Popular Idiom Mean? • 7ESL
Oyster English Blog New Site Updates
Idioms - Definition & List of 1100+ Examples
Dog communication - Wikipedia
English Tutor Nick P Idioms (451) One's Tail Between One's Legs - Origin
At All Costs or At Any Cost - Idiom & Meaning