Proverbs 3:32
for the LORD detests the perverse, but He is a friend to the upright.
Berean Standard Bible
For the froward is abomination to the LORD: but his secret is with the righteous.
For the perverse is an abomination to the LORD, but his friendship is with the upright.