Sin is a condition, not just a list of acts.
Jesus made the move himself: out of the heart proceed evil thoughts, murders, adulteries. The acts come out of something. Deal only with the acts and you are pruning a tree while the root keeps sending up new shoots.
That is why the Bible can say a person is dead in trespasses and sins rather than merely guilty of them. Guilt describes a legal status. Death describes a condition. Both are true, and the second is why the first cannot be fixed by trying harder.
Jeremiah puts it as plainly as it can be put: "The heart is deceitful above all things, and desperately wicked: who can know it?" Note the second clause. Part of the condition is that you cannot fully see the condition. Self-examination is necessary and it is not sufficient.
“The heart is deceitful above all things and beyond cure. Who can understand it?”
The heart is deceitful above all things→
“For from within the hearts of men come evil thoughts, sexual immorality, theft, murder, adultery,”
From within, out of the heart of men, proceed evil thoughts→
“And you were dead in your trespasses and sins,”
Dead in trespasses and sins→