Power problems

The (old technology) L298N has a dropout voltage of about 2volt in H-bridge mode at that motor current.
To compensate for that, supply voltage should be about 2volt higher than motor voltage.
Make sure batteries can keep up with motor current.
Leo..