War soon broke out between David and Esh-baal. Esh-baal grew continually weaker, and his general Abner intrigued with David to betray him into the hands of the Jewish king. Abner, however, was slain by Joab while in the act of carrying out his treason, but Esh-baal was murdered shortly afterwards by two of his servants. David declared himself his successor, and claimed rule over all Israel.
This brought him into conflict with his Philistine overlords. It was equivalent to revolt, and the Philistine army swept the lowlands of Judah. David fled from Hebron and took refuge in his old retreat. Here he organised his forces; the Philistines were defeated in battle after battle, and David not only succeeded in driving them out of Judah and Israel, but in carrying the war into their own country. The Philistine cities were conquered, and soldiers from Gath, where David had himself once served as a mercenary, were drafted into the body-guard of the Hebrew sovereign.
Before the Philistine war was over, Jerusalem had fallen into David's hands. The stronghold of the Jebusites was one of the last of the Canaanitish cities to surrender to the Israelites. Its older inhabitants were allowed to live in it side by side with colonists from Judah and Benjamin. The city itself was made the capital of the kingdom. Its central position, its natural strength, and its independence of the history of any special tribe, all combined to justify the choice. Here David built his palace, and planned the erection of a temple to Yahveh.
Meanwhile the kingdom of Israel was passing into an empire. Joab and his veterans gained victory after victory, and the Hebrew army became what the Assyrian army was in later days, the most highly disciplined and irresistible force in western Asia. Moab and Ammon were subdued; the Aramaic kinglets to the north-east were made tributaries, and the kingdom of Zobah, which had risen on the ruins of the Hittite power, was overthrown. The limits of David's rule were extended to the banks of the Euphrates, and the Syrians on either side of the river were utterly crushed. Even Edom, which had successfully defied the Pharaohs in the days of Egyptian greatness, was compelled to submit to the Jewish conqueror; its male population was mercilessly massacred, and its ports on the Gulf of Suez fell into Israelitish hands. In the north Hamath made alliance with the new power that had arisen in the Oriental world, while Hiram of Tyre was glad to call himself the friend of the Israelitish king, and to furnish him with skilled workmen and articles of luxury.
The latter years of David were troubled by revolts which had their origin partly in the polygamy in which he had indulged, partly in the discontent of a people still imperfectly welded together, and restless under military conscription. His son Solomon secured his throne by putting to death all possible rivals or opponents, including the grey-haired Joab. Solomon was cultured and well-educated, but his culture was selfish, and his extravagance knew no bounds. Palaces were built at Jerusalem in imitation of those of Phoenicia or Egypt, and Phoenician architects and artisans erected there a sumptuous temple in honour of the national God. Trade was encouraged and developed: the possession of the Edomite seaports gave Solomon the command of the Arabian trade, while his alliance with Hiram opened to him the harbours of the Mediterranean coast. But the wealth which David had accumulated, the tribute of the conquered provinces, and the trading monopolies of the king himself did not suffice for the extravagance of his expenditure, and heavy fiscal burdens had to be laid on the Israelitish tribes. Disaffection grew up everywhere except in Judah, where the king resided, and where the wealth raised elsewhere was spent.
Revolts broke out in Edom and the north. Garrisons, indeed, were planted in Zobah, which secured the caravan road through Tadmor or Palmyra to the Euphrates; but Damascus was lost, and became in a few years a formidable adversary of Israel. The death of Solomon was the signal for a revolt in Palestine itself. The northern tribes under Jeroboam separated from Judah and established a kingdom of their own, while Judah and Benjamin remained faithful to the house of David and to the capital, which lay on the frontier of both. The Levites also naturally attached themselves to the kingdom which contained the great national sanctuary, and to the royal family whose chapel it was. The disruption of the monarchy necessarily brought with it the fall of the empire; Moab, however, continued to be tributary to the northern kingdom and Edom to that of Judah.
Five years after the accession of Rehoboam, the son of Solomon, the kingdom of Judah seemed in danger of perishing altogether. Shishak, the Egyptian Pharaoh, invaded the country and sacked Jerusalem itself. But Jeroboam lost the opportunity thus afforded him of extending his rule over the south; his own territories had been partially overrun by the Egyptians, and he was probably not in a position to commence a war. Judah had time to recover; the walls of Jerusalem were rebuilt, and the Arabian trade soon supplied it with fresh resources.
The long and prosperous reign of Asa, the grandson of Rehoboam, placed the line of David on a solid foundation. The Jewish kingdom was compact; its capital was central, and was not only a strongly-fortified fortress, but also an ancient and venerable sanctuary. As time went on feelings of respect and affection gathered round the royal house; the people of Judah identified it with themselves, and looked back with pride and regret to the glorious days of David and Solomon. Religion, moreover, lent its sanction to the Davidic dynasty. The Levitical priesthood had its centre in the temple which had been built by Solomon, and was, as it were, the private chapel of his descendants; here were preserved the rites and traditions of the Mosaic Law, and the ark of the covenant between Israel and its God. The northern kingdom, on the contrary, had none of these elements of stability. The first king was a rebel, who had no glorious past behind him, no established priesthood to support his throne, no capital even, around which all his subjects could rally. The sword had given him his crown, and the sword was henceforth the arbiter of his kingdom. The conservative forces which were strong in Judah were absent in the north; there the army became more and more powerful, and its generals dethroned princes and established short-lived dynasties. Northern Israel, moreover, was not homogeneous; the tribes on the two sides of the Jordan were never welded together like the inhabitants of Judah, and the divergence of interests that had once existed between them was never wholly forgotten.
Israel perished while Judah survived. Dynasty after dynasty had arisen in it; its capital had been shifted from time to time; it did not even possess a religious centre. Before a line of kings had time to win the loyalty of the people they were swept away by revolution, and the army became the dominating power in the state. There was no body of priests to preserve the memory of the Mosaic Law and insist upon its observance, and the prophets who took their place protested in vain against the national apostasy. Alliance with the neighbouring kingdom of Phoenicia brought with it the worship of the Phoenician Baal, and Yahveh was forsaken for a foreign god. In B.C. 722 Samaria, the later capital of the country, was taken by the Assyrian king Sargon, and northern Israel ceased to be a nation.
Judah, on the other hand, successfully defied the Assyrian power. The invasion of Sennacherib was rolled back from the walls of Jerusalem, and though the Jewish kings paid tribute to Nineveh, they were left in possession of their territories. Edom, indeed, had long since been lost, and with it the trade with the Arabian seas, but the Philistines continued to acknowledge the supremacy of Judah, and commercial relations were kept up with Egypt. It was not until the Babylonian empire of Nebuchadrezzar had arisen on the ruins of that of Assyria that Jerusalem and its temple were destroyed, and the Davidic dynasty passed away. But they had accomplished their work; a nation had been created which through exile and disaster still maintained its religion and its characteristics, and was prepared, when happier days should come, to return again to its old home, to rebuild the temple, and carry out all the ordinances of its faith. From henceforth Judah realised its mission as a peculiar people, separated from the rest of the world, whose instructor in religion it was to be. More and more it ceased to be a nation and became a race—a race, moreover, which had its roots in a common religious history, a common faith, and a common hope. Israel according to the flesh became Israel according to the spirit.