Israel's King Baasha went to war against Judah. He built Ramah in order to deny anyone access to Judah's King Asa.
So Asa withdrew all the silver and gold that remained in the treasuries of the Lord's temple and the treasuries of the royal palace and put it into the hands of his servants. Then King Asa sent them to Ben-hadad son of Tabrimmon son of Hezion king of Aram who lived in Damascus, saying,
"There is a treaty between me and you, between my father and your father. Look, I have sent you a gift of silver and gold. Go and break your treaty with Baasha king of Israel so that he will withdraw from me."
Ben-hadad listened to King Asa and sent the commanders of his armies against the cities of Israel. He attacked Ijon, Dan, Abel-beth-maacah, all Chinneroth, and the whole land of Naphtali.
When Baasha heard [about it], he quit building Ramah and stayed in Tirzah.
Then King Asa gave a command to everyone without exception in Judah, and they carried away the stones of Ramah and the timbers Baasha had built it with. Then King Asa built Geba of Benjamin and Mizpah with them.a