NET
17 King Baasha of Israel attacked Judah and established Ramah as a military outpost to prevent anyone from leaving or entering the land of King Asa of Judah.
Darby
17 And Baasha king of Israel came up against Judah, and built Ramah, in order to let none go out or come in to Asa king of Judah.
KJV
17 And Baasha king of Israel went up against Judah, and built Ramah, that he might not suffer any to go out or come in to Asa king of Judah.