You misunderstand. You do not need works to be put into the family of God. You need works to show that has happened. Did you know the word justify means to be made righteous, and to be shown to be righteous? Paul's justification by faith apart from works is talking about being made righteous before God. No works required to do that. James's justification by works is talking about being SHOWN to be righteous before God. Don't feel bad, hardly anyone knows this. I learned it in another forum a few years back. Pass it along.
The person who can not show himself to have the righteousness of God by what he does does not have the righteousness of God. And it is irrelevant if they ever were righteous before God and lost it, or never had it to begin with. The fact remains that the person who can't show he has the righteousness of God in salvation doesn't have it. Whether he really had it or not to begin with doesn't change that truth.