These results demonstrate that FOXA1 might affect T2D and hormone-receptor-positive breast cancer (HR+ BC). Here, FOXA1 is linked to type 2 diabetes mellitus.