Deuteronomy 5:23

23 And when you heard the voice out of the midst of the darkness, while the mountain was burning with fire, you came near to 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; and you shall not desire your neighbor's house, his field, or his manservant, or his maidservant, his ox, or his ass, or anything that is your neighbor's.'
22 "These words the LORD spoke to all your assembly at the mountain out of the midst of the fire, the cloud, and the thick darkness, with a loud voice; and he added no more. And he wrote them upon two tables of stone, and gave them to me.
23 And when you heard the voice out of the midst of the darkness, while the mountain was burning with fire, you came near to me, all the heads of your tribes, and your elders;
24 and you said, 'Behold, the LORD our God has shown us his glory and greatness, and we have heard his voice out of the midst of the fire; we have this day seen God speak with man and man still live.
25 Now therefore why should we die? For this great fire will consume us; if we hear the voice of the LORD our God any more, we shall die.
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.