
Those, who did things to you to harm you, were used to set you up for something good, for the purpose of God.
Consider it good.
Genesis 50:20 (KJV) – but as for you, ye thought evil against me; but God meant it unto good, to bring to pass, as it is this day, to save much people alive.