Mat 15:18-19 But what comes out of the mouth proceeds from the heart, and this defiles a person. For out of the heart come evil thoughts, murder, adultery, sexual immorality, theft, false witness, slander.
It’s all one classification: sinning. But the Lord speaks to us about where sin begins, in the heart. As your post shows and many other verses of God’s word.