Intention determines the worth of a person’s actions and he will attain what he intends.

Bukhari and Muslim