Solomon built again the towns of Upper Beth Horon and Lower Beth Horon. He made those towns into strong forts. Those towns had strong walls, gates, and bars in the gates.
The Egyptian people decided to make life hard for the people of Israel. So the Egyptians put slave masters over the people. These masters forced the Israelites to build the cities of Pithom and Rameses for the king. The king used these cities to store grain and other things.