First, you ignored the fact that one must receive Christ, that is, believe in him, before being made a child of God
John 1:12 (NASB 95) — 12 But as many as received Him, to them He gave the right to become children of God, even to those who believe in His name,
plainly shown
Gal 3:26 For you are all sons of God through faith in Christ Jesus.
You keep ignoring this fact.
second we are not told when it is men were made children of God here
but the Spirit does not indwell untill
John 7:37–39 (NASB 95) — 37 Now on the last day, the great day of the feast, Jesus stood and cried out, saying, “If anyone is thirsty, let him come to Me and drink. 38 He who believes in Me, as the Scripture said, ‘From his innermost being will flow rivers of living water.’ ” 39
But this He spoke of the Spirit, whom those who believed in Him were to receive; for the Spirit was not yet given, because Jesus was not yet glorified.