It then went along to Azmon. There it joined the Wadi of Egypt and ended at the Mediterranean Sea. That was the southern border of Judah.