On that day Joshua made a covenant for the people at Shechem and established a statute and ordinance for them.