Subsequent to the Israelites rebellion into idolatry with the creation of the golden calf, God informs Moses and the people of the consequences. But, Moses entreats God to show mercy on "His people" and God does confirm His loving kindness.
Bill mentions a famous hymn "He Hideth My Soul". Here's a nice version by Guy Penrod.
Study notes are here.