The second reason GD commanded man to exert effort is so he does not become lazy, greedy, and haughty and rebel against GD. That is why it says in Avos 2:2 " Excellent is the study of Torah together with worldly occupation, for labor at both puts sin out of mind and all Torah without work will in the end be neglected and occasion sin. Chas Vishalom the danger of one who is not busy with either. pg 387 Nefesh Hachaim In Melachim we learn that Chizkiyahu was held accountable being sentenced to die in this world and to have no share in the World to Come for the reason that he chose not to marry and have children knowing through Ruach Hakodesh they would be evil and cause damage to this world. This is an example of one trying to use his foreknowledge to manipulate the world when his obligation was to follow the Torah's command to marry and have children. Gate One, Chapter 22, pg 70