On that day at Shechem Joshua made an agreement for the people. He made rules and laws for them to follow.