In the book of Deuteronomy (30:19), the people of Israel are told: “I call heaven and earth to witness against you this day, that I have set before you life and death, blessing and curse; therefore choose life, that you and your descendants may live.”
The book of Sirach or Ecclesiasticus (15:14-17) reiterates this point: “It was he who created man in the beginning, and he left him in the power of his own inclination. If you will, you can keep the commandments, and to act faithfully is a matter of your own choice. He has placed before you fire and water: stretch out your hand for whichever you wish. Before a man are life and death, and whichever he chooses will be given to him.”