These results indicate that SH003 induces autophagic cell death by inhibiting STAT3-G9A axis in GC cells. Here, EHMT2 is linked to gastric cancer.