In this case, Russia has been taking very heavy losses at Bakhmut - much more than Ukraine.
There seems to be potential now for Russian losses in Bakhmut to sharply decrease. Mostly because there are reports that Ukraine has advanced in the past two days. Can't take losses in Bakhmut if you can't even get there in the first place.
The most recent Russian advances in Bakhmut occurred when Ukraine rotated forces, moving tired soldiers out and fresh soldiers in. That's a difficult thing to do while fighting is on-going and it showed. Russia managed to move forward a bit.
Now a few weeks later those fresh forces have found their footing and learned the lay of the land. So they recaptured the areas that Russia had gained during the force rotation.
Today's reports are that Russia has been pushed entirely out of the residential parts of the town, and pushed back along roads north and south of town.