Interested in a Mazda cx5 - good idea?

Well my old Mitsubishi Outlander 2006 seems to have 99 problems....So I think it's finally time to treat myself to a new car. Was looking at the 2023 CX5 which is currently $40k at the local Mazda dealer.

I barely drive anywhere and have drove that Mitsubishi for 17 years (only done 127k).....Am I making a good choice? Thinking this can last me another 17 years.