Matthew Henry on Joshua 24:15-28
Never was any treaty carried on with better management, nor brought to a better issue, than this of Joshua with the people, to engage them to serve God. The manner of his dealing with them shows him to have been in earnest, and that his heart was much upon it, to leave them under all possible obligations to cleave to him, particularly the obligation of a choice and of a covenant.
I. Would it be any obligation upon them if they made the service of God their choice? - he here puts them to their choice, not as if it were antecedently indifferent whether they served God or nor, or as if they were at liberty to refuse his service, but because it would have a great influence upon their perseveranc…
Read the whole note in the consoleJamieson-Fausset-Brown on Joshua 24:14
Now therefore fear the Lord, and serve him in sincerity and in truth--After having enumerated so many grounds for national gratitude, Joshua calls on them to declare, in a public and solemn manner, whether they will be faithful and obedient to the God of Israel. He avowed this to be his own unalterable resolution, and urged them, if they were sincere in making a similar avowal, "to put away the strange gods that were among them"--a requirement which seems to imply that some were suspected of a strong hankering for, or concealed practice of, the idolatry, whether in the form of Zabaism, the fire-worship of their Chaldean ancestors, or the grosser superstitions of the Canaanites.
Adam Clarke on Joshua 24:22
Ye are witnesses against yourselves - Ye have been sufficiently apprised of the difficulties in your way - of God's holiness - your own weakness and inconstancy - the need you have of Divine help, and the awful consequences of apostasy; and now ye deliberately make your choice. Remember then, that ye are witnesses against yourselves, and your own conscience will be witness, judge, and executioner; or, as one terms it, index, judex, vindex.
John Gill on Joshua 24:22
And Joshua said unto the people,.... In reply to their answer and resolution:
ye are witnesses against yourselves, that ye have chosen you the Lord God to serve him; that is, should they, after this choice of him, which they had so publicly declared, desert his service, and go into idolatry, their testimony would rise up against them, and they would, be self-condemned:
and they said, we are witnesses; should we ever apostatize from the Lord and his worship, we are content to have this our witness produced against us.