They were 10 years old. Batteries are wear items from time and cycles.
If they kill a battery even every 5 years, that’s still fine IMO and replacing the battery is way better than tossing the whole thing.