I wouldn't buy an electric vehicle from anyone at the moment. Toyota has made a major breakthrough in solid state battery technology where you'll get a 300 mile range and 10 minutes to fully recharge. Toyota is not alone in pursuing the technology, just looks like they might be first to market with it, citing 2025 for a model with the technology.
2025 is 4 years out though plus it will be very difficult to get your hands on one of those models the first year - just like when Tesla first launched, or the Prius or the RAV4 Prime.
OP is replacing their current vehicle soon (I'm guessing within the next few months), after just 3(?) years of ownership. In this scenario, I don't think it's unreasonable to get the best EV on the market today (any Tesla) and then 3-4 years from now when something better is available, switch to that. Financially, buying a $50k Model Y will still work out better on paper than buying a $40k ICE SUV over the course of the next 3-4 years. An ICE Sorento will depreciate faster than a Tesla in that same time frame. Plus, you can benefit from all the technology in the meantime - relatively quick acceleration, no oil changes and never having to go to a gas station again (if they are able to charge overnight in their garage) being among the satisfaction and QOL improvements.
One last thought - if OP only keeps their vehicles for a few years at a time, doing a lease would give them protection from any unforeseen sudden depreciation in the market if that is a real concern. If it really did suddenly depreciate in the next few years, OP could simply walk away from their lease at the end. If not, they have other options.