God was originally the king of Israel and gave them the law at Mount Sinai, instructing them to be a holy nation set apart from others. However, when the Israelites entered the promised land they were tempted by the customs of the native peoples. After a period of judges, the people demanded a human king like the other nations had, despite God wanting to remain their king. Samuel warned them about the consequences of a king but the people insisted.