Jesus and his mother was invited to a wedding. At the wedding they ran out of wine. Jesus' mother had faith in Jesus' compassion and asked him to make more wine.
After the miracle Jesus went to Jerusalem and told Nicodemus that no one can enter the Gods Kingdom "without being born of the water and the spirit." (Jn 3:5)
This miracle ties to the fourth commandment which is "honor your mother and your father". Jesus obeys his mother by listening to what she has to say and following orders such as making water into wine