Starter motor spins freely on the bench, but on the car all I get is rapid clicking.

Engine turns over if you put it in 5th and push the car forward.

Any ideas?