Genesis 45:5

NLT
New Living Translation

5But don’t be upset, and don’t be angry with yourselves for selling me to this place. It was God who sent me here ahead of you to preserve your lives.