God’s Righteousness Through Faith
21 But now the righteousness of God apart from the law is revealed, being witnessed by the Law and the Prophets, 22 even the righteousness of God, through faith in Jesus Christ, to all [f]and on all who believe. For there is no difference; 23 for all have sinned and fall short of the glory of God, 24 being justified [g]freely by His grace through the redemption that is in Christ Jesus, 25 whom God set forth as a [h]propitiation by His blood, through faith, to demonstrate His righteousness, because in His forbearance God had passed over the sins that were previously committed, 26 to demonstrate at the present time His righteousness, that He might be just and the justifier of the one who has faith in Jesus.So after you believe all your sins are wiped out by the cross of Christ, that is the ones you previously committed.
However if you sin willfully there is no longer a sacrifice for sin, but a fearful expectation of judgment coming your way.
Hebrews 10
26 For if we sin willfully after we have received the knowledge of the truth, there no longer remains a sacrifice for sins,
27 but a certain fearful expectation of judgment, and fiery indignation which will devour the adversaries.
I am not talking about people losing their salvation, this is about losing their rewards from God. The fire of God will test everyone's work.
1 Cor 3
12 Now if anyone builds on this foundation with gold, silver, precious stones, wood, hay, straw, 13 each one’s work will become clear; for the Day will declare it, because it will be revealed by fire; and the fire will test each one’s work, of what sort it is. 14 If anyone’s work which he has built on it endures, he will receive a reward. 15 If anyone’s work is burned, he will suffer loss; but he himself will be saved, yet so as through fire.