Edom has attacked David and Israel. David sees this attack as God's judgment, and he goes back to prayer as the true answer for Israel's hope.