In our study of Amos chapter seven, we look at the judgment that was to come on the northern kingdom because of their pride. Even in this judgment, we see that God demonstrates His mercy to His people.
"This is what the Sovereign Lord showed me: He was preparing swarms of locusts after the king's share had been harvested and just as the late crops were coming up." NIV translation
God begins to show the prophet what He is going to do to the northern kingdom. Here, we see that God was preparing to destroy the crops of the land. We see that there was usually two crops on the land with the first part going to the king for taxes. He was going to strike the second crop which was the part that fed the animals until the dry season came. The people would survive for a time but, without the food for the animals, the animals would die and the people would then starve.
"When they had stripped the land clean, I cried out, 'Sovereign Lord, forgive! How can Jacob survive? He is so small!' So the Lord relented. 'This will not happen,' the Lord said." NIV translation
We remember that Amos was a simple shepherd and he knew what this would do to the people.
He prayed and God listened. God displayed His mercy in the fact that He agreed to not do this even though they deserved it and even more under the law.
"This is what the Sovereign Lord showed me: The Sovereign Lord was calling for judgment by fire; it dried up the great deep and devoured the land." NIV translation
Now, the prophet sees that God is preparing to judge them with fire. This fire is so big and so hot that it dries up the Mediterranean Sea and consumes all the plants on the land.
"Then I cried out, 'Sovereign Lord, I beg you, stop! How can Jacob survive? He is so small!' So the Lord relented. 'This will not happen either,' the Sovereign Lord said." NIV translation
Once again the prophet prays for mercy and God granted his request. We notice that he did not appeal to God based on their relationship as His people but simply based on His mercy.