So Joshua made a covenant with the people that day and made statutes and ordinances for them at Shechem.