Joshua 10 identifies Japhia king of Lachish as one of five Amorite kings who joined the attack upon Gibeon. Joshua subsequently defeated the coalition and captured Lachish.
During the divided monarchy, Rehoboam fortified Lachish as part of Judah's defensive system. King Amaziah later fled to Lachish after a conspiracy arose against him and was killed there.
The city became particularly important during the Assyrian invasion of Judah under Hezekiah. Second Kings 18 states that Sennacherib attacked the fortified cities of Judah and that Hezekiah sent messengers to the Assyrian king at Lachish.
Jeremiah 34 later identifies Lachish and Azekah as among the last fortified cities of Judah still resisting Babylon before Jerusalem fell.