Luke 9:33

33 And as the men were parting from him, Peter said to Jesus, "Master, it is well that we are here; let us make three booths, one for you and one for Moses and one for Eli'jah" --not knowing what he said.

Luke 9:33 Meaning and Commentary

Luke 9:33

And it came to pass, as they departed from him
That is, as Moses and Elias departed from Christ; or "when they began to depart", as the Syriac version renders it; or "would depart", as the Arabic and Persic versions; seemed desirous of going, or made some signal or other by which the disciples perceived they were about to go; for, as yet, they were not gone;

Peter said unto Jesus, master, it is good for us to be here, let us
make three tabernacles, one for thee, and one for Moses, and one for
Elias; (See Gill on Matthew 17:4)

not knowing what he said,
nor "what to say", as Mark observes, being in a surprise, and not in a situation to consider and weigh things well, whether what he said was right and proper, or not; (See Gill on Matthew 17:4)

Luke 9:33 In-Context

31 who appeared in glory and spoke of his departure, which he was to accomplish at Jerusalem.
32 Now Peter and those who were with him were heavy with sleep, and when they wakened they saw his glory and the two men who stood with him.
33 And as the men were parting from him, Peter said to Jesus, "Master, it is well that we are here; let us make three booths, one for you and one for Moses and one for Eli'jah" --not knowing what he said.
34 As he said this, a cloud came and overshadowed them; and they were afraid as they entered the cloud.
35 And a voice came out of the cloud, saying, "This is my Son, my Chosen; listen to him!"
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.