Ezekiel 46:9

When the people of the land come before the Lord at the appointed feasts, whoever enters by the north gate to worship must go out by the south gate, and whoever enters by the south gate must go out by the north gate. No one is to return through the gate by which he entered, but each must go out by the opposite gate.
BSB · Berean Standard Bible
But when the people of the land shall come before the Lord in the solemn feasts, he that entereth in by the way of the north gate to worship shall go out by the way of the south gate; and he that entereth by the way of the south gate shall go forth by the way of the north gate: he shall not return by the way of the gate whereby he came in, but shall go forth over against it.
KJV · King James Version
“‘“But when the people of the land come before the Lord in the appointed feasts, he who enters by the way of the north gate to worship shall go out by the way of the south gate; and he who enters by the way of the south gate shall go out by the way of the north gate. He shall not return by the way of the gate by which he came in, but shall go out straight before him.
WEB · World English Bible
But when the people of the land shall come before Jehovah in the appointed feasts, he that entereth by the way of the north gate to worship shall go forth by the way of the south gate; and he that entereth by the way of the south gate shall go forth by the way of the north gate: he shall not return by the way of the gate whereby he came in, but shall go forth straight before him.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

come before
Exodus 23:14–17; Exodus 34:23; Deuteronomy 16:16; Psalm 84:7; Malachi 4:4
he that entereth in
Ezekiel 1:12, 17; Philippians 3:13, 14; Hebrews 10:38; 2 Peter 2:20, 21