These findings highlight the role of IL-4-induced macrophage polarization and metabolic reprogramming in immune resistance and verify IL-4 as potential targets for improving treatment outcomes in gastric cancer patients. Here, IL4 is linked to gastric cancer.