A cock is valiant on his own dunghill. meaning

HOME PROVERBS

boast

A cock is valiant on his own dunghill.

is used for:
Someone who boast of his courage in safe and familiar surroundings, where his bravery is not going to be tested.
also
Every cock is bold on his own dunghill.