This chapter begins with a caution not to sacrifice anything to the Lord that is blemished or ill favoured, De 17:1, an order is given to put to death men or women guilty of idolatry, where it is clearly proved upon them, De 17:2-7 and it is directed that when cases are too hard for inferior judges to determine, they should be brought to Jerusalem to the priests, Levites, and judges, which formed the great consistory there, whose sentence was to be adhered unto on pain of death, De 17:8-13, and rules are given about the choice of a king, and he is informed what he must not do, and what he should do, De 17:14-20.