God provided Israel with qualities they should desire in a king. In short, when the king ceased to be right with God, he ceased to be right for the people.
Nations have lost sight of the Almighty God. In doing so, they fail to recognize that neither they nor their leaders are the highest authority.
Fasting, similar to other actions in life, has specific purposes and appointed times. The Bible offers various reasons why people might fast: an immediate need in prayer (2 Samuel 12:16), a need to loosen the bands of wickedness or undo heavy burdens (Isaiah 58:6), during times of elevated conflict or duty in service (Matthew 17:21; Acts 13:3), as a symbol of mourning (2 Samuel 1:12), and as an outward manifestation of true repentance (Jonah 3:5). This list is not exhaustive, but simply demonstrates that God’s people have many good reasons for fasting. Even if none of these circumstances surfaces in our lives, we should fast because we know that the Lord expects us to do so.