Actually, no, not anymore.
In fact, some electric car batteries are guaranteed to last up to ten years or 150,000 miles.
In laboratory tests, the most recent battery technology has pushed 300,000 kilometers. That's more than two decades of (usually) emission-free riding.