The wicked plot against the righteous and gnash their teeth at them (NIV)
The wicked plot against the [uncompromisingly] righteous (the upright in right standing with God); they gnash at them with their teeth. (AMP)
The wicked plotteth against the just, and gnasheth upon him with his teeth. (KJV)