To begin with, they prepared for a short war and found themselves in a longer one.
Now they are preparing for a long war and may find themselves losing it rather faster than they expect.
The US $40bn programme raises the price beyond Russia's ability to compete. They have to figure a way to back down while pretending they are not.