The king seems to have preferred Babylon to Assyria. When Egyptian armies moved up the Mediterranean coast to join Assyria in resisting Babylonian advance westward, Josiah intercepted Pharaoh Neco II (619-595 B.C.) at Mediggo and tried to stop him. Unfortunately for Judah the Egyptians killed Josiah there in 609 B.C. Egypt continued north, united with Assyria, and met Babylon at Carchemish on the upper Euphrates River. There Babylon defeated the allies and broke the domination of the Assyrian Empire over the ancient Near Eastern world. The Battle of Carchemish in 605 B.C. was one of the most important in ancient Near Eastern history for this reason.139
Josiah was a strong influence for righteousness in his day and a very capable ruler. The success of his far-reaching reforms indicates his ability to overcome much popular opinion that must have opposed his convictions. His influence for good extended even into the fallen territory of Israel.140Unfortunately he died prematurely as a result of his unwise decision to challenge Pharaoh Neco (cf. 2 Chron. 35:20-27).