The one who turns away

But the wicked and the one loves violence his soul hates.  Psalm 11:5

How does God hate the wicked, yet Jesus was called the “friend of sinners”?

There is hope for the sinner, who may yet repent. There is no hope for the wicked—the one who turns away determinedly.