Trying to rob a moving car was his first and last mistake