Green’s Dictionary of Slang

dunghill n.1

[cock-fighting jargon dunghill, any cock but a fighting cock]

[late 16C–early 19C] a coward; also attrib.

In phrases

die dunghill (v.)

see under die v.