His entire mission was focused on sin, because of sinners and His death because of sin.
Scripture says we are all sinners so of course He hung out with sinners. Paul states, “You would have to leave the world to not be around sinners.”
John, 7:7. The world cannot hate you, but it hates me because I testify about it that its works are evil.
Ephesians, 5:11. Take no part in the unfruitful works of darkness, but instead expose them.
1 Tim, 5:20. As for those who persist in sin, rebuke them in the presence of all, so that the rest may stand in fear.
2 Tim, 4:2. Preach the word; be ready in season and out of season; reprove, rebuke, and exhort, with complete patience and teaching. For the time is coming when people will not endure sound teaching, but having itching ears they will accumulate for themselves teachers to suit their own passions, and will turn away from listening to the truth and wander off into myths.
Ezekiel, 3:18. If I say to the wicked, ‘You shall surely die,’ and you give him no warning, nor speak to warn the wicked from his wicked way, in order to save his life, that wicked person shall die for his iniquity, but his blood I will require at your hand.
1 Cor, 6:9. Or do you not know that the unrighteous will not inherit the kingdom of God? Do not be deceived: neither the sexually immoral, nor idolaters, nor adulterers, nor men who practice homosexuality,
2 John, 1:9. Everyone who goes on ahead and does not abide in the teaching of Christ, does not have God. Whoever abides in the teaching has both the Father and the Son. If anyone comes to you and does not bring this teaching, do not receive him into your house or give him any greeting, for whoever greets him takes part in his wicked works.
Rev, 3:19. Those whom I love, I reprove and discipline, so be zealous and repent.
Mat, 23:23. “Woe to you, scribes and Pharisees, hypocrites! For you tithe mint and dill and cumin, and have neglected the weightier matters of the law: justice and mercy and faithfulness. These you ought to have done, without neglecting the others. You blind guides, straining out a gnat and swallowing a camel! “Woe to you, scribes and Pharisees, hypocrites! For you clean the outside of the cup and the plate, but inside they are full of greed and self-indulgence. You blind Pharisee! First clean the inside of the cup and the plate, that the outside also may be clean. “Woe to you, scribes and Pharisees, hypocrites! For you are like whitewashed tombs, which outwardly appear beautiful, but within are full of dead people's bones and all uncleanness. ...
Could go on, but if that isn’t enough...