David again brought together all the able young men of Israel—thirty thousand. He and all his men went to Baalah in Judah to bring up from there the ark of God, which is called by the Name, the name of the Lord Almighty, who is enthroned between the cherubim on the ark. They set the ark of God on a new cart and brought it from the house of Abinadab, which was on the hill. Uzzah and Ahio, sons of Abinadab, were guiding the new cart with the ark of God on it, and Ahio was walking in front of it. David and all Israel were celebrating with all their might before the Lord, with castanets, harps, lyres, timbrels, sistrums and cymbals. When they came to the threshing floor of Nakon, Uzzah reached out and took hold of the ark of God, because the oxen stumbled. The Lord’s anger burned against Uzzah because of his irreverent act; therefore God struck him down, and he died there beside the ark of God. Then David was angry because the Lord’s wrath had broken out against Uzzah, and to this day that place is called Perez Uzzah." (2 Samuel 6:1-8)
In the above verse, David and his army followed the Philistine (1 Samuel 6:7-12) in how to transport the ark instead following the instructions in the bible. (1 Chronicles 15:15). The moral behind the story is: "You Can't Always Do What Others Do, It Just May Get you Killed.