The proverb puts it this way:
The one who searches for what is good finds favor,
but if someone looks for trouble, it will come to him (11:27)
What he looks for—i.e., trouble he can cause another—in the end, only comes back upon himself.
A pretty strong warning to trouble-makers—don’t you think?