Psalm 19:8, "The statutes of the Lord are right, rejoicing the heart: the commandment of the Lord is pure, enlightening the eyes."
Mankind was never meant to be separated from God.
It is God's will that we dwell with Him eternally. In fact, the entire history of God's interactions with man can be summed up as a continual effort to draw mankind back to the Father. By the actions of our first ancestors, we became tarnished, imperfect, unholy, and unworthy to dwell in the presence of the Lord. Thankfully our God is a loving Father who has not turned His back on His disobedient children, but instead has provided a way for us to become clean, perfect, and holy once again. That process was given to us through His statutes and the fulfilling of His law.
The law of God is perfect; it is true; it is pure; it is the path of our salvation.