After adjusting for age, gender, smoking status, hypertension, diabetes, body mass index (BMI), triglycerides (TG), low-density lipoprotein (LDL), serum creatinine (Scr), alanine aminotransferase (ALT), aspartate aminotransferase (AST), thyroid-stimulating hormone (TSH), and white blood cell count (WBC), the analysis revealed that the Q2 group had the lowest risk of MACE events (HRQ1 = 1.910, 95% CI: 1.517-2.404, P<0.001; HRQ4 = 1.615, 95% CI: 1.275-2.046, P < 0.001). Here, GPT is linked to diabetes mellitus.