Before the Holy Spirit came we were confined under the law; kept until He was revealed: Therefore the law was our instructor to bring us to Christ, that we might be justified by faith.

Then, after the Holy Spirit is come, we are no longer under the instructor, for we are then all the children of God by faith in Christ Jesus. Galatians 3:23-25