Conclusion: In summary, BCL7B gene has a high diagnostic and prognostic value in pan-cancer and is related to the infiltration of 24 immune cell subsets in pan-cancer. This evidence concerns the gene BCL7B and cancer.