And Joshua wrote these words in the Book of the Law of God. And he took a large stone and set it up there under the terebinth that was by the sanctuary of the LORD.
26. And Joshua wrote these words, etc Understand that authentic volume which was kept near the ark of the covenant, as if it contained public records deposited for perpetual remembrance. And there is no doubt that when the Law was read, the promulgation of this covenant was also added.
Joshua compels them to choose not because serving God is optional, but because a reasoned, deliberate choice will bind their consciences far more securely than mere obligation. The will of man clings most firmly to what it has elected freely; thus he sets before them a genuine fork in the road and demands they take it knowingly.
AI summary
Commenting on Joshua 24:15-28
And Joshua wrote these words,.... Which had passed between him and the people: in the book of the law of God; written by Moses, and which he ordered to be put in the side of the ark, and that being now present, the book could be easily taken out, and these words inserted in it, Deu 31:26, and took a great stone: on which also...