DeWalt Tools, Replacement Battery question?

I’ve been running the DeWalt tools for years now. The generic batteries are all cheaper for a reason. I have yet to retire any of my DeWalt batteries, they’ve held up better than expected with the oldest ones being 7-8 years old now. I’ve got a handful of batteries, from 2ah up to 5ah. Amazon has sales on them occasionally, the twin pack of 5ah batteries was on sale for the holidays. I bought the tools with batteries included for a little while, they’re a little cheaper that way. Not that I have a bunch I just buy the bare tools.