Who has more troubles: righteous or sinner?

Righteous should have less problems, because God helps him, right? Or do righteous have more troubles because they are attacked more by the devil?

(Psalms 34:19) “Many are the afflictions of the righteous: but the LORD delivers him out of them all.”

There are more troubles with the righteous, but they are overcome.

Note that this also applies first to the Jesus himself.