31 ב - תרגם

Question: In Acts 7:6 were it talks about the 400 years and Egypt...And the verse further down Acts 7:17- It makes it seem as though the 400 years were fulfilled in Egypt. Can someone explain this?