For the LORD detests the perverse but takes the upright into his confidence.
NIV
For the perverse are an abomination [extremely disgusting and detestable] to the Lord; but His confidential communion and secret counsel are with the [uncompromisingly] righteous (those who are upright and in right standing with Him). [Ps. 25:14.]AMP
For the froward is abomination to the LORD: but his secret is with the righteous.
KJV