Romans 8:20-22

20For the creation awas subjected to futility, not willingly, but bbecause of him who subjected it, in hope 21that cthe creation itself will be set free from its bondage to corruption and obtain the freedom of the glory of the children of God. 22For we know that dthe whole creation ehas been groaning together in the pains of childbirth until now.

Romans 8:28

28And we know that for those who love God all things work together ffor good,
Some manuscripts  God works all things together for good, or God works in all things for the good
for hthose who are called according to his purpose.
Copyright information for ESV