Absalom and all the Israelites said, “Hushai's advice is better than Ahithophel's.” The Lord had decided that Ahithophel's good advice would not be followed, so that disaster would come on Absalom.
On the day that the Lord gave the men of Israel victory over the Amorites, Joshua spoke to the Lord. In the presence of the Israelites he said, “Sun, stand still over Gibeon; Moon, stop over Aijalon Valley.”
The people of Jerusalem were greatly alarmed at this because Gibeon was as large as any of the cities that had a king; it was larger than Ai, and its men were good fighters.