God's voice is louder and clearer than all other sounds and noises. It can be heard over other loud sounds such as the sound of the waters. This can be stated in active form. Alternate translation: "When Yahweh speaks his voice is louder than the sound of the sea" or "Yahweh shouts louder than the sound of the waters" (See: [[rc://en/ta/man/jit/figs-activepassive]])
All occurrences of "voice" here represent Yahweh speaking. The writer is emphasizing that when Yahweh speaks, the sound is so loud it is heard over the waters, and it is so powerful it can destroy the largest trees. Alternate translation: "When Yahweh speaks, his voice" (See: [[rc://en/ta/man/jit/figs-metonymy]])
This speaks about God speaking as if it were the sound of thunder. Just like the sound of thunder, Yahweh's voice can be heard over large distances. Alternate translation: "The voice of the glorious God is loud like thunder" or "When the glorious God speaks it rumbles like thunder" (See: [[rc://en/ta/man/jit/figs-metaphor]])