No they are defending not attacking.They are not losing, they're just advancing slowly. If they were losing Ukraine would be pushing them back towards the border.
The defence they mount is by knowing the route the enemy takes (Brritish and US intellegence apparantly) and ambushing them. They are doing it to great effect.