There's an idea in Judaism that says "HaKol BeYedei Shamayim Chutz MiYirat Shamayim," "Everything is in Hashem's hands except fear of Heaven" (Berachot 33b and Megillah 25a)
This means that everything is predetermined aside from your choice of right or wrong.
How does this work when someone else chooses to do wrong and you are involved in that situation. Since their choice to do wrong is not predetermined does that mean that you - the person involved - can get into a non-predetermined predicament?