We’re seeing a lower incidence of gastric cancer these days, partly because our diet contains fewer foods that cause cancer (as refrigeration became widespread, we ate fewer smoked and cured meats).
We now also know that H. pylori can cause stomach cancer, but H. pylori are relatively easy to diagnose and treat.