L289n not spinning motors on 9v battery

Yes, that will work for a few minutes. But the L298 itself consumes about half the battery power, converting it to heat.

Use a 4 to 6xAA battery pack for your robot, and a modern motor driver. Pololu has the best selection.