Israel was far from perfect, but because the LORD had chosen and loved them, He continually forgave them and promised to restore the nation.
Make a joyful noise unto the LORD, all ye lands. Serve the LORD with gladness: come before his presence with singing. Know ye that the LORD he is God: it is he that hath made us, and not we ourselves; we are his people, and the sheep of his pasture. ~ Psalm 100:1-3