Find the word definition

Wiktionary
cast in one's lot with someone

vb. To share someone's fortunes.