Counter anecdote, I've had gas mowers survive decades and EV electrical equipment (in this case, a chainsaw and a battery pack for a mower) both die within 14 months of purchase.
Counter counter anecdote, I was just tidying up the yard with my 18V whipper snipper and contemplating the fact that I bought it in 2012 and it hasn’t skipped a beat.
This is my experience as well. String trimmer battery went out (still in warranty and replaced) but my gas string trimmer I use at a bigger property came home with me and worked great. She’s only 15 years old, the battery was 6 months. I love my battery blower and string trimmer, but the gas ones are going strong but typically stay at the ranch property due to it being a bigger property to maintain. I would also need 3-4 battery’s out there to keep up with maintaining it, the gas is a whole lot cheaper than a grands worth of battery’s.