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
You answer us with awesome and righteous deeds, God our Savior, the hope of all the ends of the earth and of the farthest seas
NIV
By fearful and glorious things [that terrify the wicked but make the godly sing praises] do You answer us in righteousness (rightness and justice), O God of our salvation, You Who are the confidence and hope of all the ends of the earth and of those far off on the seas
AMP
By terrible things in righteousness wilt thou answer us, O God of our salvation; who art the confidence of all the ends of the earth, and of them that are afar off upon the sea:
KJV