These data show that thiopeptide-positive C. acnes exhibited anti-inflammatory and anti-FOXM1 properties in the context of H. pylori gastritis. Here, FOXM1 is linked to gastritis.