 He must give a lesson that the devil meant it for evil, but God turned things around in our favor. Never knew what God was doing, doing all of those things that Joseph was going through. He never knew that the outcome that the Lord was allowing him to go through it to become what God wanted him to be in the end.