I have both. A diesel truck and a full EV. They're both great in their ideal use cases. I use the truck for longer road trips, especially up in the mountains, hauling, off-roading, etc. The EV just about everywhere else - which is honestly the majority of my driving. Running errands, heading to the office, kid pick up, shorter trips in the city/state area, etc.
My 3.0 1500 can average around 20+mpg on those trips and is super versatile. But it has maintenance and fuel/DEF isn't cheap. Plus those frequent short trips aren't the best for it. And parking in tight spaces can sometimes be a no go.
My Hyundai Ioniq 5 can leave the house with a "full tank" every day. And that costs me less than $9 of electricity for 260+ miles of around town driving. Can't touch that with any gas/diesel vehicle. It'll fast DC charge from 10-80% in less than 20 minutes. I've done this many times and it works great. Although I know some areas have charger issues. And in some areas those prices can be comparable to gas, but it's still usually cheaper per mile. In my case, it's actually free if using EA chargers for the next 2 years with no maintenance costs. Perfect for a lease.
If they ever properly expand/fix the EV infrastructure, especially in more rural areas, I could absolutely see going all EV. But not today. For me, both work great.