This cohort study compares the risks of developing different hematologic cancers in patients with type 2 diabetes treated with glucagon-like peptide–1 receptor agonists (GLP-1RAs) compared with metformin and insulin. This evidence concerns the gene INS and type 2 diabetes mellitus.