Exodus 20:20

20 And Moses said to the people, "Do not fear; for God has come to prove you, and that the fear of him may be before your eyes, that you may not sin."

Exodus 20:20 In-Context

18 Now when all the people perceived the thunderings and the lightnings and the sound of the trumpet and the mountain smoking, the people were afraid and trembled; and they stood afar off,
19 and said to Moses, "You speak to us, and we will hear; but let not God speak to us, lest we die."
20 And Moses said to the people, "Do not fear; for God has come to prove you, and that the fear of him may be before your eyes, that you may not sin."
21 And the people stood afar off, while Moses drew near to the thick darkness where God was.
22 And the LORD said to Moses, "Thus you shall say to the people of Israel: 'You have seen for yourselves that I have talked with you from heaven.
Revised Standard Version of the Bible, copyright 1952 [2nd edition, 1971] by the Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.