The Israelites journeyed from Rameses to Sukkoth. There were about 600,000 men on foot, plus their dependants.
So they put foremen over the Israelites to oppress them with hard labor. As a result they built Pithom and Rameses as store cities for Pharaoh.