You can’t control a motor like this, you need a transistor, 1K resistor and an Arduino generating PWM.
See
http://www.thebox.myzen.co.uk/Workshop/Motors_1.html