While EV resale prices lag ICE, they're on the rise while ICE resale is waning. Considering the lack of maintenance and not paying for gas the math almost always works out in the EVs favor if you hold onto it for 3 years or more.
It's clear you have never owned an EV so you have no idea what the risks are other than what you read online.