This is the same thought the Pharisee, Simon, had in verse 39. Simon thought Jesus should condemn and avoid her. The woman was sinful and had broken the Law.
Jesus answered Simon with a parable in verses 41-42. "And he said, Two men were in debt to a certain man of business: one had a debt of five hundred pence, and the other of fifty. When they were unable to make payment, he made the two of them free of their debts. Which of them, now, will have the greater love for him?"
He explained that the sinful woman's actions showed her repentance. Luke 7:38, “And (the woman) stood at his feet behind him (Jesus) weeping, and began to wash his feet with tears, and did wipe them with the hairs of her head, and kissed his feet, and anointed them with the ointment.” Jesus forgave her sins. And, because of her faith, knowing she was forgiven of many sins, she loved God all the more.
So, what about her sins? What about our sins?
1 John 1:8 tells us, “If we say that we have no sin, we deceive ourselves, and the truth is not in us.” And James 2:10 says, “For anyone who keeps all the law, but makes a slip in one point, is judged to have gone against it all. All sin.” We are all just as guilty as that woman.
Yet Jesus said in John 3:17, “For God did not send his Son into the world to condemn the world, but that the world should be saved through him.”
This woman is a good example for us to follow. When we sin we can humbly go to the Lord, weeping for our our mistakes, and asking for forgiveness. He will forgive and not condemn us, and we will be free to work to correct those faults with His help.