Network pharmacology identified 156 overlapping targets between SJZD and GC, among which STAT3 was recognized as a critical hub gene. Here, STAT3 is linked to gastric cancer.