In Genesis 2:16,17 God gives a law. It is the only restriction given. Adam had complete dominion over all, except this one tree. This law expressed the will of God. It would ultimately test Adam’s acceptance of God’s law.
The woman is then created. She is a unique creation, in that she is made from the living substance of the man. This indicates that there is to be a sympathetic attachment between both, which Adam recognised (Genesis 2:3-25). The Lord Jesus Christ spoke of marriage as being established by God from the beginning (Matthew 19:4-6). It is to form a means of comfort, help and strength for both partners in the service of God, a life-long commitment patterned on the loving, spiritual bond between Christ and his ecclesia (Ephesians 5:25-33).