And it was by such methods and out of such people that David built up the fiction of a divine kingdom of Judah as the successor of the heritage and traditions of the vanishing northern kingdom of Ephraimite Israel. David's cosmopolitan tribe of Judah was more gentile than Jewish; nevertheless the oppressed elders of Ephraim came down and "anointed him king of Israel." After a military threat, David then made a compact with the Jebusites and established his capital of the united kingdom at Jebus (Jerusalem), which was a strong-walled city midway between Judah and Israel. The Philistines were aroused and soon attacked David. After a fierce battle they were defeated, and once more Yahweh was established as "The Lord God of Hosts."
But Yahweh must, perforce, share some of this glory with the Canaanite gods, for the bulk of David's army was non-Hebrew. And so there appears in your record (overlooked by the Judahite editors) this telltale statement: "Yahweh has broken my enemies before me. Therefore he called the name of the place Baal-Perazim." And they did this because eighty per cent of David's soldiers were Baalites.
David explained Saul's defeat at Gilboa by pointing out that Saul had attacked a Canaanite city, Gibeon, whose people had a peace treaty with the Ephraimites. Because of this, Yahweh forsook him. Even in Saul's time David had defended the Canaanite city of Keilah against the Philistines, and then he located his capital in a Canaanite city. In keeping with the policy of compromise with the Canaanites, David turned seven of Saul's descendants over to the Gibeonites to be hanged.
After the defeat of the Philistines, David gained possession of the "ark of Yahweh," brought it to Jerusalem, and made the worship of Yahweh official for his kingdom. He next laid heavy tribute on the neighboring tribes—the Edomites, Moabites, Ammonites, and Syrians.
David's corrupt political machine began to get personal possession of land in the north in violation of the Hebrew mores and presently gained control of the caravan tariffs formerly collected by the Philistines. And then came a series of atrocities climaxed by the murder of Uriah. All judicial appeals were adjudicated at Jerusalem; no longer could "the elders" mete out justice. No wonder rebellion broke out. Today, Absalom might be called a demagogue; his mother was a Canaanite. There were a half dozen contenders for the throne besides the son of Bathsheba—Solomon.
After David's death Solomon purged the political machine of all northern influences but continued all of the tyranny and taxation of his father's regime. Solomon bankrupted the nation by his lavish court and by his elaborate building program: There was the house of Lebanon, the palace of Pharaoh's daughter, the temple of Yahweh, the king's palace, and the restoration of the walls of many cities. Solomon created a vast Hebrew navy, operated by Syrian sailors and trading with all the world. His harem numbered almost one thousand.
By this time Yahweh's temple at Shiloh was discredited, and all the worship of the nation was centered at Jebus in the gorgeous royal chapel. The northern kingdom returned more to the worship of Elohim. They enjoyed the favor of the Pharaohs, who later enslaved Judah, putting the southern kingdom under tribute.
There were ups and downs—wars between Israel and Judah. After four years of civil war and three dynasties, Israel fell under the rule of city despots who began to trade in land. Even King Omri attempted to buy Shemer's estate.