The last two verses of Genesis 2 speak to the relationship that a husband and wife have.
The verses are generally considered to be commentary on the preceding verses where Adam names his wife. As inspired by God to write the account of our beginning, Moses clearly says that each newlywed couple is to be independent and separate from the families that raised them. This will not eliminate the need to honor father and mother or to help father and mother in their later years but it does necessitate the need to be independent and not dependent on them for the needs of your new family.
As the newlywed couple leaves and ‘cleaves’ or hold fast to each other, they form their own family (with or without children) and as such need to put their mate first in their dealings and plans. Becoming one flesh speaks of more than just the sexual union but includes the vision and direction the family is going to go. Being naked and and unashamed shows an openness and intimacy that does not recoil at flaws and things we hide from others but not our spouse.
This passage also talks about the permanence of marriage and Jesus used to it to show God’s plan for marriage from the beginning.
It is good advice to not get married until you and your intended are willing and able to stand independent from your families, fully commit to each other permanently, and can be honest about deeper things than favorite colors and foods.