400 Years prophesied in scripture

Yah says in Isaiah 46:10 “Declaring the end from the beginning, and from ancient times the things that are not yet done, saying, My counsel shall stand, and I will do all my pleasure:” and He did just that. Here are some verses beginning in Genesis that speak of the 400 years that Israel will be in captivity.

When you get to Deuteronomy 28 what people group fits the curses?