" Like the Chaldeans, Joseph’s brothers were guilty of sin, sin that they personally had wanted to do. But God stands above all human choices and works through human freedom to bring about His own providential goals. That is what Joseph was saying: “You chose to do something sinful, but all things work together for good to those who love God and are called according to His purpose. I "
― R.C. Sproul , Does God Control Everything? (Crucial Questions, #14)