Diabetic patients with CRC or lung cancer who were treated with DPP4 inhibitors exhibited a statistically significant survival advantage (hazard ratio [HR] of 0.89; CI: 0.82‐0.97, P = 0.007) that remained significant after controlling for all other confounders. Here, DPP4 is linked to lung cancer.