For the longest time the top brass in the Air Force have been wanting to get rid of it, convinced the F-35 could do the job better. But neither Congress nor soldiers on the ground agreed, so it lives on. And to be fair, actually seeing and hearing death coming from above seems like a valuable characteristic that the F-35 is never going to enjoy.
The modern battlefield
@Exorcet is referring to is China and the Pacific. That part kinda makes sense but the AF has been trying to get rid of the plane since 2013 when we were still deeply involved in Afghanistan, Iraq, Syria, etc. They're still the most effective ground attack planes in existence as long as air superiority can be provided which is something that's going to be problematic in a conflict with China. That said, we've trialed them in these future war scenarios and have flown some to Japan as recently as last year.
I think they've finally given up trying to kill it because they're actually upgrading them with new wing spars, keeping them in service for at least another 15 years or so. Seems like the AF found a use for it in the Pacific, and a way to guarantee air coverage. Maybe all those Spratly Islands? Either way, China doesn't field a comparable tool so surely there's a use for it somewhere.