The Lord's anointed delivers God's people despite their past sin and rebellion.
God gives the people what they want to discipline them and cause them to look for a better king.
In Christ, you have a king who gave you everything to bring you eternal security.