It’s definitely the case that not all batteries are created equal, though I think the only case I can think of where battery failure was pretty common was the Nissan Leaf and honestly an ICE Nissan also has a pretty common failure point (the CVT) so the moral of the story is maybe hold off on a Nissan.