“And he said, I am God, the God of thy father: fear not to go down into Egypt; for I will there make of thee a great nation:” Genesis 46:3
God clearly told Jacob (Israel) to go down to Egypt. Four hundred and some years later God rebuked Israel for wanting to go back to Egypt. Where God led you years ago may not be where He wants you to be today. Where God may lead you today may not be the place he wants you to be at tomorrow.