When Joseph was sold by his brothers into slavery, it was a part of what God was doing. Jesus’ death on the cross was part of God’s plan of salvation. God has a plan. He is faithful and just concerning his promises, and he is willing and able to punish the wicked and save the righteous. All things work together for good but that does not mean that each individual event in our lives is good at the time. I think of it like making biscuits. It takes a few minutes to get there but hang in there.