The soldiers who were with Joab found out that Sheba had gone there, so they went there and surrounded the town. They built a dirt ramp up against the town wall. They also pounded against the wall with heavy poles, to cause it to collapse.