2022 BMWx5 xDrive or 2024 MB GLC300 4matic?

Hi, 👋 any advice for which one I should choose? Considering the driving experience, maintenance cost, resale value. Thanks!! 2022 x5 xDrive about 40k mi, $44000(w/o tax, clean title, but a leased vehicle), with M sport, executive, HUD, luxury seating packages, 360 cam.

2024 glc 300 4matic: 8k mi, $43000 (w/o tax, clean title, maybe demo car? not sure). Just 19inch wheel, I don’t think it has other add on.