God Weaves All Things, Even Evil, into the Good of Believers

Context: Joseph to his brothers years after they sold him as a slave due to jealousy, and then he became a ruler in Egypt, storing grain in preparation for mass famine

'‘Say to Joseph, “Please forgive the transgression of your brothers and their sin, because they did evil to you.”’ And now, please forgive the transgression of the servants of the God of your father.” Joseph wept when they spoke to him. His brothers also came and fell down before him and said, “Behold, we are your servants.” But Joseph said to them, “Do not fear, for am I in the place of God? As for you, you meant evil against me, but God meant it for good, to bring it about that many people should be kept alive, as they are today. '

Genesis 50:17-20 (ESV)

https://www.bible.com/bible/59/GEN.50.17-20.ESV

Early 2nd Millenium B.C.

Context: Apostle Paul writes that the Holy Spirt intercedes for believers

'And he who searches hearts knows what is the mind of the Spirit, because the Spirit intercedes for the saints according to the will of God. And we know that for those who love God all things work together for good, for those who are called according to his purpose. '

Romans 8:27-28 (ESV)

https://www.bible.com/bible/59/ROM.8.27-28.ESV

Written by the Apostle Paul in 57 A.D.