The northern kingdom had already faced many of the covenant curses. As a result of this the Israelites didn’t live safe and secure. There are stories about this all throughout 1 Kings and 2 Kings.
The northern kingdom was attacked over and over again. There were times when there wasn’t any rain or enough food. There were times when people were so hungry that they even ate their dead children. Hundreds of years earlier Moses had warned the people about all of these things.
God sent many prophets to warn the kings and the people to turn back to him. These prophets were Elijah, Elisha, Ahijah and many others. Yet the rulers and people of the northern kingdom refused to worship only God. They refused to trust him to provide everything they needed. They refused to live as a kingdom of priests and a holy nation.
Finally, God allowed the worst of the covenant curses to come on them. This happened in the years 723 and 722 BC when Hoshea was king. The king of Assyria attacked the northern kingdom and took control of Samaria. The Assyrians forced many Israelites to leave the land God had promised to give Abraham. The Assyrians brought other people groups to live in Samaria instead.
Many years earlier God had commanded the Israelites to drive out the Canaanites. But now the Israelites were driven out from the land God had given them. They were forced to live far away. This was called the exile of the northern kingdom.