I'm by no means a google booster, but the 4A 5G is supported through Nov 2023, and the 5 through Oct 2023. That's not bad.
Free repair if that happens is nice, but also not that helpful unless being out a phone for a week is fine, and losing your on device data is fine.
https://www.theverge.com/2021/1/25/22248408/apple-class-acti...
The specific thing they were sued over was "we slowed down your phone when the battery got old, because the alternative was it crashing, and we didn't tell you we were doing it". Not explaining it was bad, but they've since fixed that, and the underlying technical thing they did seems reasonable and, to the point of this discussion, actually prolonged the usable life of the phone.