Deuteronomy 5:23

23 When you heard the voice out of the darkness, while the mountain was burning with fire, you approached me, all the heads of your tribes and your elders;

Deuteronomy 5:23 Meaning and Commentary

Deuteronomy 5:23

And it came to pass, when ye heard the voice out of the midst
of the darkness
The thick darkness, where God was, and with which the mountain was covered, ( Exodus 20:21 )

for the mountain did burn with fire;
which is a reason both why the Lord spoke out of the midst of the fire, the mountain on which he descended burning with it and also for his speaking out of the midst of darkness, because not only a thick cloud covered the mountain, but it was altogether on a smoke, which ascended as the smoke of a furnace, ( Exodus 19:16 Exodus 19:18 )

that ye come near unto me, even all the heads of your tribes and your
elders;
or wise men, as the Targum of Jonathan; by which it appears, that not only the common people were frightened at what they heard and saw on Mount Sinai, but those of the first rank and eminence among them, who were the most famous for their authority and wisdom.

Deuteronomy 5:23 In-Context

21 Neither shall you covet your neighbor's wife. Neither shall you desire your neighbor's house, or field, or male or female slave, or ox, or donkey, or anything that belongs to your neighbor.
22 These words the Lord spoke with a loud voice to your whole assembly at the mountain, out of the fire, the cloud, and the thick darkness, and he added no more. He wrote them on two stone tablets, and gave them to me.
23 When you heard the voice out of the darkness, while the mountain was burning with fire, you approached me, all the heads of your tribes and your elders;
24 and you said, "Look, the Lord our God has shown us his glory and greatness, and we have heard his voice out of the fire. Today we have seen that God may speak to someone and the person may still live.
25 So now why should we die? For this great fire will consume us; if we hear the voice of the Lord our God any longer, we shall die.
New Revised Standard Version Bible, copyright 1989, 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.