Historical commentary by Matthew Henry. The wording and interpretations below belong to the original source.
The Death of Josiah. ( b. c. 610.)
It was thirteen years from Josiah's famous passover to his death. During this time, we may hope, thing went well in his kingdom, that he prospered, and religion flourished; yet we are not entertained with the pleasing account of those years, but they are passed over in silence, because the people, for all this, were not turned from the love of their sins nor God from the fierceness of his anger. The next news therefore we hear of Josiah is that he is cut off in the midst of his days and usefulness, before he is full forty years old. We had this sad story, 2 Kings xxiii. 29, 30 . Here it is somewhat more largely related. That appears here, more than did there, which reflects such blame on Josiah and such praise on the people as one would not have expected.
I. Josiah was a very good prince, yet he was much to be blamed for his rashness and presumption in going out to war against the king of Egypt without cause or call. It was bad enough, as it appeared in the Kings, that he meddled with strife which belonged not to him. But here it looks worse; for, it seems, the king of Egypt sent ambassadors to him, to warn him against this enterprise, v. 21 .
1. The king of Egypt argued with Josiah, (1.) From principles of justice. He professed that he had no desire to do him any hurt, and therefore it was unfair, against common equity and the law of nations, for Josiah to take up arms against him. If even a righteous man engage in an unrighteous cause, let him not expect to prosper. God is no respecter of persons. See Prov. iii. 30 ; xxv. 8 . (2.) From principles of religion: " God is with me; nay, He commanded me to make haste, and therefore, if thou retard my motions, thou meddlest with God." It cannot be that the king of Egypt only pretended this (as Sennacherib did in a like case, 2 Kings xviii. 25 ), hoping thereby to make Josiah desist, because he knew he had a veneration for the word of God; for it is said here ( v. 22 ) that the words of Necho were from the mouth of God. We must therefore suppose that either by a dream, or by a strong impulse upon his spirit which he had reason to think was from God, or by Jeremiah or some other prophet, he had ordered him to make war upon the king of Assyria. (3.) From principles of policy: " That he destroy thee not; it is at thy peril if thou engage against one that has not only a better army and a better cause, but God on his side."