David and God’s covenant