Read Genesis 45:5 Using Other Translations
Now therefore be not grieved, nor angry with yourselves, that ye sold me hither: for God did send me before you to preserve life.
And now do not be distressed or angry with yourselves because you sold me here, for God sent me before you to preserve life.
But 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.