2 Chr 35:20

35:20 Even a king who “had prepared the temple” would suffer divine retribution if he ignored the word of God. Josiah fell in battle because he refused to obey the divinely directed words of Pharaoh Neco (v. 22).