Power up a motor/pump
Motors aren't simple resistive loads.  The current they take depends on the load applied to them.  In addition, when stalled and that includes when the motor is first started, the current will be much higher than normal.

Your 22 ohm resistor is limiting the start-up current to the point where the motor hasn't enough power to get moving.

If you're running a 6-12V motor off a 9V supply, then you don't even need a resistor.  You are already in the middle of the specified voltage range.