If we do God’s will, we are considered His children - Matthew 12:50
For whosoever shall do the will of my Father which is in heaven, the same is my brother, and sister, and mother.
Jesus told His listeners, and us, as readers, that if we desire to identify as a member of the family of God, we are to be obedient to His way of salvation and His will for our life.