Allah never wants any one to do wrong, on the contrary, He showed every one the right way and the wrong way and ordered and encouraged to do good and avoid bad. Allah granted human beings the intellect and the option to do whatever they decide to do and He never forced any one to do good or bad.
Wrong doers do wrong out of their own option and decision. Allah never wants wrong. He orders us to do good and He helps every one who to do good.