Therefore, these results indicate that STAT3 and EZH2 are important genetic markers in predicting a poor prognosis for GC patients undergoing resection. Here, STAT3 is linked to gastric cancer.