ESV: Moses said to the people, "Do not fear, for God has come to test you, that the fear of him may be before you, that you may not sin."
NIV: Moses said to the people, "Do not be afraid. God has come to test you, so that the fear of God will be with you to keep you from sinning."
NASB: However, Moses said to the people, 'Do not be afraid; for God has come in order to test you, and in order that the fear of Him may remain with you, so that you will not sin.'
CSB: Moses responded to the people, "Don’t be afraid, for God has come to test you, so that you will fear him and will not sin."
NLT: Don’t be afraid,' Moses answered them, 'for God has come in this way to test you, and so that your fear of him will keep you from sinning!'
KJV: And Moses said unto the people, Fear not: for God is come to prove you, and that his fear may be before your faces, that ye sin not.
NKJV: And Moses said to the people, “Do not fear; for God has come to test you, and that His fear may be before you, so that you may not sin.”