The purpose of the trial is to assess the efficacy and safety of tirzepatide taken once a week to insulin glargine taken once daily in participants with type 2 diabetes and increased cardiovascular risk. The study will last about 108 weeks and may include up to 30 visits.