“They made a calf in Horeb, And worshipped the molten image. Thus they changed their glory Into the similitude of an ox that eateth grass. They forgat God their saviour, Which had done great things in Egypt; Wondrous works in the land of Ham, And terrible things by the Red sea. Therefore he said that he would destroy them, had not Moses his chosen stood before him in the breach, To turn away his wrath, lest he should destroy them. Yea, they despised the pleasant land, They believed not his word: But murmured in their tents, And hearkened not unto the voice of the LORD. Therefore he lifted up his hand against them, To overthrow them in the wilderness: To overthrow their seed also among the nations, And to scatter them in the lands.”
Psalm 106:19-27 KJV
https://bible.com/bible/1/psa.106.19-27.KJV
“Then all Israel gathered themselves to David unto Hebron, saying, Behold, we are thy bone and thy flesh. And moreover in time past, even when Saul was king, thou wast he that leddest out and broughtest in Israel: and the LORD thy God said unto thee, Thou shalt feed my people Israel, and thou shalt be ruler over my people Israel. Therefore came all the elders of Israel to the king to Hebron; and David made a covenant with them in Hebron before the LORD; and they anointed David king over Israel, according to the word of the LORD by Samuel. And David and all Israel went to Jerusalem, which is Jebus; where the Jebusites were, the inhabitants of the land. And the inhabitants of Jebus said to David, Thou shalt not come hither. Nevertheless David took the castle of Zion, which is the city of David. And David said, Whosoever smiteth the Jebusites first shall be chief and captain. So Joab the son of Zeruiah went first up, and was chief. And David dwelt in the castle; therefore they called it ...