Biden and the Democrats have lost some support. But that doesn't necessarily translate into Republican wins. Republicans have their own share of problems.
The war was a bit of a surprise and there's no boots on the ground so no rally around the flag yet. We should all utter prayers into the void that this remains the case. But if it resolves itself quickly it will generally favor Democrats.
If it stretches out...maybe not so much. Hard to say.