To the end they might forget the law, and change all the ordinances.
so that they would forget the law and change all its ordinances.