Find the word definition

Wiktionary
shit the bed

vb. 1 (&lit shit bed English) 2 (context chiefly US idiomatic of a person or thing English) To fail.