The Israelites originated in Canaan but left around 1400 BC due to a drought, traveling to Egypt where they became enslaved. Moses led the Israelites out of Egypt in the Exodus of 1290 BC, receiving the Ten Commandments from God. After 40 years of wandering, the Israelites regained the Promised Land of Canaan under judges and sought to unite against the Philistines by choosing Saul as their first king, followed by David who expanded the kingdom and Solomon who succeeded him.