So now you are back to if a person sins they cannot be born again. I have to ask, what will your view be tomorrow? Keep mentioning ''The ten Commandments is to have an old covenant mindset. It is not about the ''ten commandments'' it is about the law written in your mind and placed on your heart,Most certainly the apostle John speaks of God's commandments in his 1st and 2nd epistles...he does not identify them as ten because there are certainly more than ten...he refers to them as the commandments (plural); while the commandment to believe on the name of Jesus Christ and love one another is a singular commandment.
I would say concerning the 2nd post that one can be justified as an ungodly person (Romans 4:5) but if they sin they are not born again (1 John 3:8-9).
The person who has faith in Christ is justified even when they are sinning but faith can extend to a higher level...in which you become sanctified wholly (1 Thessalonians 5:23-24 (kjv)). This is the point where one is "born of God" (1 John 3:9).
A person can be justified apart from and before they are "born of God"...for being born of God would be likened to being circumcised spiritually (see Romans 4:11).
A justified person has righteousness imputed to them...they have taken the steps needed to become born of God once their faith takes root...whether they will be sanctified wholly when they receive their glorified bodies in heaven or whether they receive that "second benefit" (2 Corinthians 1:15) in this life.