Yes, but it's not a 1:1 ratio. Printing money isn't the only cause of inflation, blowing up the gas pipeline between Russia and Europe had a larger effect on inflation than they money they printed and sent to Ukraine. That action made energy more expensive, which in turn makes everything more expensive.