Only our unrepented-of sin(s) will be held against us at our judgment.
The following passage from Ezekiel 33:11-16 seems appropriate:
“As I live, says the Lord GOD, I have no pleasure in the death of the wicked, but that the wicked turn from his way and live; turn back, turn back from your evil ways; for why will you die, O house of Israel? And you, son of man, say to your people, The righteousness of the righteous shall not deliver him when he transgresses; and as for the wickedness of the wicked, he shall not fall by it when he turns from his wickedness; and the righteous shall not be able to live by his righteousness when he sins. Though I say to the righteous that he shall surely live, yet if he trusts in his righteousness and commits iniquity, none of his righteous deeds shall be remembered; but in the iniquity that he has committed he shall die. Again, though I say to the wicked, `You shall surely die,’ yet if he turns from his sin and does what is lawful and right, if the wicked restores the pledge, gives back what he has taken by robbery, and walks in the statutes of life, committing no iniquity; he shall surely live, he shall not die. None of the sins that he has committed shall be remembered against him; he has done what is lawful and right, he shall surely live.”