"It is a recurrent biblical theme in both in both Old and New Testament that a person, or even a nation reaps what is done and is rewarded, for good or ill, according to whether the actions are performed in obedience to God."
These words remind us that life is not a one way-traffic. We ask for God's grace to obey his will and in response to the God-given grace, we take responsibility for obeying Him with all of our hearts. As the grace is abundantly poured on us, God gives us the free will to keep up to our promise to obey, worship and to love Him.
Source: Flavell, Linda and Roger. Dictionary Proverbs and their Origins. (p. 204-205).