Joshua 10 identifies Piram king of Jarmuth as one of five Amorite kings who joined the king of Jerusalem in attacking Gibeon after the Gibeonites made peace with Israel.
Joshua came to the aid of Gibeon, and the coalition was defeated. The five kings fled and hid in a cave at Makkedah, where they were captured and later executed.
Joshua 15:35 includes Jarmuth among the towns allotted to Judah in the Shephelah. Nehemiah 11:29 indicates that the settlement or its surrounding region was again occupied by Judeans following the exile.