Idiom
cast lot with somethingcast (your) lot with (someone/something)
to choose to share in whatever happens to another person or a group.If I'm going to cast my lot with this team, I'm going to try to make them as good as possible any way I can.
Etymology: based on the literal meaning of cast your lot (= to throw dice or other objects as a way of deciding what will happen)