Russia's "victories" are extremely small and came at a great cost. They cannot win the war by having these type of battles with these losses. It is just not sustainable. Whatever metric you use.
Their plan was to topple the government and expectation was that most Ukrainian army will surrender due to fear of mighty Russian army. Once that failed they have entered into a conflict they cannot win conventionally and that will cause them massive damage for little to no gains. Whole operation in the north of the country is exactly the model how this war is going for Russia.
And the worst thing for Russia is that they are still not "all out". They are not mobilizing hundreds of thousands of conscripts from previous years so it's likely that soon they will be outnumbered on the battlefield. Once Ukraine brings up their reservists and new volunteer units to the battlefield it is to be expected that the tide turns against Russia.
Ukraine right now is trading time and small villages for attrition against Russian forces. It is working very well. Similar game plan was used to great success around Kyiv, Sumy and Chernihiv.