In the Old Testament, God used arrogant and immoral kings to punish the Hebrew people, as the wicked Hebrews had rejected God as their King and their God, and had asked for an earthly king, because they were jealous and envious of the pagans who had richly robed kings to lead them in their battles and festivities.
However, God will spare the widows and orphans who are close to Him.
O Lord Jesus Christ, our King and our God, through the prayers of the Most Pure Virgin Mary and of all the Saints, have mercy on us, spare us from all harm, and save us, for we trust in Thee.