2 Chronicles 20:20-23. King Jehoshaphat.
Even though Jehoshaphat made some alliances that did not please the Lord, he still honored God and God gave him peace on all sides. When enemies came close to invading, Jehoshaphat proclaimed a fast throughout the land and sought the Lord. He prayed before the assembly with all of Judah standing before the Lord with their infants, wives and children. The Lord promised them victory and they were victorious. Lord we assemble before You with our families and our children to fast and pray for the safety and deliverance of our nation.
"They rose early in the morning and went out to the wilderness of Tekoa; and when they went out, Jehoshaphat stood and said, “Listen to me, O Judah and inhabitants of Jerusalem, put your trust in the Lord your God and you will be established. Put your trust in His prophets and succeed.” When he had consulted with the people, he appointed those who sang to the Lord and those who praised Him in holy attire, as they went out before the army and said, “Give thanks to the Lord, for His lovingkindness is everlasting.” When they began singing and praising, the Lord set ambushes against the sons of Ammon, Moab and Mount Seir, who had come against Judah; so they were routed. For the sons of Ammon and Moab rose up against the inhabitants of Mount Seir destroying them completely; and when they had finished with the inhabitants of Seir, they helped to destroy one another."
2 Chronicles 20:20-23 New American Standard Bible (NASB)