33 As the men were leaving Jesus, Peter said to him, “Master, it is good for us to be here. Let us put up three shelters—one for you, one for Moses and one for Elijah.” (He did not know what he was saying.)

Read Luke 9:33 Using Other Translations

And it came to pass, as they departed from him, Peter said unto Jesus, Master, it is good for us to be here: and let us make three tabernacles; one for thee, and one for Moses, and one for Elias: not knowing what he said.
And as the men were parting from him, Peter said to Jesus, "Master, it is good that we are here. Let us make three tents, one for you and one for Moses and one for Elijah"--not knowing what he said.
As Moses and Elijah were starting to leave, Peter, not even knowing what he was saying, blurted out, “Master, it’s wonderful for us to be here! Let’s make three shelters as memorials —one for you, one for Moses, and one for Elijah.”