In conclusion, our results suggested dioscin elicits anti‐tumour immunity by inhibiting macrophage M2 polarization through JNK and STAT3 pathways in lung cancer. Here, MAPK8 is linked to lung carcinoma.