In famine he shall redeem thee from death. Famine appears throughout the whole of Scripture as one of God's severest chastisements (see Le 26:19, 20; Deuteronomy 28:22-24; 2 Samuel 21:1; 2 Samuel 24:13; 2 Kings 8:1; Psalms 105:16; Isaiah 14:30; Jeremiah 24:10; Revelation 18:8).
Ezekiel speaks of "the sword, the famine' the noisome beast, and the pestilence," as God's "four sore judgments" (Ezekiel 14:21). Miraculous deliverances from famine are related in Genesis 41:29-36; 1 Kings 17:10-16; 2 Kings 7:1-16.
And in war from the power of the sword. In war God protects whom he will, and they seem to have charmed lives. They are covered with his feathers, and safe under his wings (Psalms 91:4).