Freedom of choice has been granted to every man: if he desires to turn toward a good path and be righteous, the ability to do so is in his hands; and if he desires to turn toward an evil path and be wicked, the ability to do so is in his hands...
This is a fundamental principle and a pillar of the Torah and its commandments. For if G-d were to decree that a person be righteous or wicked; or if there were to exist something in the very essence of a person's nature which would compel him toward a specific path, a specific conviction, a specific character trait or a specific deed... how could G-d...
Mishneh Torah, Laws of Repentance 5:1-3