If we do the will of God, we will be considered the children of God  -  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.

When we are obedient to God, His Word, and His will, we are considered part of God’s family.