15 And if it seems evil to you to be the servants of the Lord, make the decision this day whose servants you will be: of the gods whose servants your fathers were across the River, or of the gods of the Amorites in whose land you are living: but I and my house will be the servants of the Lord. 16 Then the people in answer said, Never will we give up the Lord to be the servants of other gods; 17 For it is the Lord our God who has taken us and our fathers out of the land of Egypt, out of the prison-house, and who did all those great signs before our eyes, and kept us safe on all our journeys, and among all the peoples through whom we went: 18 And the Lord sent out from before us all the peoples, the Amorites living in the land: so we will be the servants of the Lord, for he is our God. 19 And Joshua said to the people, You are not able to be the servants of the Lord, for he is a holy God, a God who will not let his honour be given to another: he will have no mercy on your wrongdoing or your sins. 20 If you are turned away from the Lord and become the servants of strange gods, then turning against you he will do you evil, cutting you off, after he has done you good. 21 And the people said to Joshua, No! But we will be the servants of the Lord. 22 And Joshua said to the people, You are witnesses against yourselves that you have made the decision to be the servants of the Lord. And they said, We are witnesses. 23 Then, he said, put away the strange gods among you, turning your hearts to the Lord, the God of Israel. 24 And the people said to Joshua, We will be the servants of the Lord our God, and we will give ear to his voice. 25 So Joshua made an agreement with the people that day, and gave them a rule and a law in Shechem. 26 And Joshua put these words on record, writing them in the book of the law of God; and he took a great stone, and put it up there under the oak-tree which was in the holy place of the Lord. 27 And Joshua said to all the people, See now, this stone is to be a witness against us; for all the words of the Lord have been said to us in its hearing: so it will be a witness against you if you are false to the Lord your God. 28 Then Joshua let the people go away, every man to his heritage.

Matthew Henry's Commentary on Joshua 24:15-28

Commentary on Joshua 24:15-28

(Read Joshua 24:15-28)

It is essential that the service of God's people be performed with a willing mind. For LOVE is the only genuine principle whence all acceptable service of God can spring. The Father seeks only such to worship him, as worship him in spirit and in truth. The carnal mind of man is enmity against God, therefore, is not capable of such spiritual worship. Hence the necessity of being born again. But numbers rest in mere forms, as tasks imposed upon them. Joshua puts them to their choice; but not as if it were indifferent whether they served God or not. Choose you whom ye will serve, now the matter is laid plainly before you. He resolves to do this, whatever others did. Those that are bound for heaven, must be willing to swim against the stream. They must not do as the most do, but as the best do. And no one can behave himself as he ought in any station, who does not deeply consider his religious duties in family relations. The Israelites agree with Joshua, being influenced by the example of a man who had been so great a blessing to them; We also will serve the Lord. See how much good great men do, by their influence, if zealous in religion. Joshua brings them to express full purpose of heart to cleave to the Lord. They must come off from all confidence in their own sufficiency, else their purposes would be in vain. The service of God being made their deliberate choice, Joshua binds them to it by a solemn covenant. He set up a monument of it. In this affecting manner Joshua took his last leave of them; if they perished, their blood would be upon their own heads. Though the house of God, the Lord's table, and even the walls and trees before which we have uttered our solemn purposes of serving him, would bear witness against us if we deny him, yet we may trust in him, that he will put his fear into our hearts, that we shall not depart from him. God alone can give grace, yet he blesses our endeavours to engage men to his service.