Moses
Deuteronomy 13:18BSB·traditional attribution

because you obey the LORD your God, keeping all His commandments I am giving you today and doing what is right in the eyes of the LORD your God.

John Calvin Reformed @genevareformer

18. When thou shalt hearken. Although this sentence depends on something else, (as may be seen by referring to it,) yet is it general, and extends to the commendation of the whole Law. Moses teaches first, that the rule of a holy life must be sought from the mouth of God; and then adds that He must be obeyed not partially, but universally.

Matthew Henry Presbyterian @wholebiblehenry

Here the case is put of a city revolting from its allegiance to the God of Israel, and serving other gods. I. The crime is supposed to be committed, 1. By one of the cities of Israel, that lay within the jurisdiction of their courts. The church then judged those only that were within, Co1 5:12, Co1 5:13.

Commenting on Deuteronomy 13:12-18

John Gill Reformed Baptist @doctorgill

When thou shalt hearken to the voice of the Lord thy God,.... Not only in this case, but in all others: to keep all his commandments which I command thee this day: the repetition of which he made unto them, and enjoined the observance of them in the name of the Lord: to do that which is right in the eyes of the Lord thy...