your tail between your legs
feeling ashamed and embarrassed After playing so badly for the entire game, the team walked off with their tails between their legs.
Etymology: based on the behavior of dogs, who will put their tails between their legs when someone speaks angrily to them