Daniel’s three friends preferred to die rather than renounce their faith, knowing that God would be with them no matter what.
The imprecatory (cursing) psalms point to the triumph of God’s justice through judgment or salvation.
God is free to define Israel, to show mercy or wrath, and to add to Israel from the nations.