Why doesn’t the Stomach Digest Itself?

The acid that is in the stomach is said to be able to eat through steel however our bodies have a wonderful resource we create on our own. The stomach has a lining of mucus that protects the inside of the stomach wall.