Is this what you were referring to in Galatians 5?:
That does not say anything about losing it. That speaks about never getting it.
ETA: Likewise 1 Corinthians 6:
That is not a warning about losing it. It is about never getting it. Again, the warnings are for people who live that way, including those in the church who may think they are believers, but indeed are not. And yet again, one more time, they are also standards for believers who are already adopted and heirs to test themselves against, for assurance.