Since Allah Almighty has granted the mankind this high quality intellect by which he can understand and receive the divine truths. As a matter fact, Allah has put the intellect and reasoning a mediator between him and the issues he might encounter, he has also been given the power of choice and freedom so that he can do whatever good deeds he wants so as the bad deeds, but when he decides to do something wrong and evil, it is all about him and has nothing to do with the desire of Allah Almighty, because Allah desire is not tied with mankind's in doing evil. An asset by the name of power of choice and freedom with the help of intellect flow in the positive and right direction. This is the mankind himself which turns of his intellect and reasoning and cuts his relationship with freedom and power of choice, and everything about him is given to the power of choice and freedom, the negative things that he does, and when he is told not to do them, he says, this is what my heart wants; in other word, this is what I want, of course this is totally wrong, if he says that his heart desires, the heart is not the real doer, the inward part of the heart is a heavenly creature, and the heart never puts its head in dirt.
source : erfan.ir