Genesis 50:20

CAB(i) 20 You took counsel against me for evil, but God took counsel for me for good, that the matter might be as it is today, and many people might be fed.