It's more than fair to be dissatisfied with how the Pirates' offense has performed. Regardless of how you want to evaluate a team's offensive output -- runs, batting average, OPS, wRC+ -- the Pirates rank near the bottom of the sport in almost every category that matters.
That doesn't guarantee they'll make a change at hitting coach.
Andy Haines has been under fire in the public eye for most of this season because of his hitters' overall performance, but signs are pointing to him returning in 2023. Simply put, the front office knew this was going to be a challenging year and, while that certainly doesn't give him unquestioned job security, it did give him some leeway for this season.