I think I find the best example is Uzzah.
2 Samuel 6:5-7 ESV
And David and all the house of Israel were celebrating before the Lord, with songs and lyres and harps and tambourines and castanets and cymbals. And when they came to the threshing floor of Nacon, Uzzah put out his hand to the ark of God and took hold of it, for the oxen stumbled. And the anger of the Lord was kindled against Uzzah, and God struck him down there because of his error, and he died there beside the ark of God.
1 Chronicles 13:9-12 ESV
And when they came to the threshing floor of Chidon, Uzzah put out his hand to take hold of the ark, for the oxen stumbled. And the anger of the Lord was kindled against Uzzah, and he struck him down because he put out his hand to the ark, and he died there before God. And David was angry because the Lord had broken out against Uzzah. And that place is called Perez-uzza to this day. And David was afraid of God that day, and he said, “How can I bring the ark of God home to me?”
--
A sidenote...
And David was afraid of God that day, and he said, “How can I bring the ark of God home to me?” 1 Chronicles 13:12
This goes on to show that punishment brings fear and not the kind of FEAR Jesus was talking about when He quoted Deut, when He was tempted in the wilderness.
No wonder God found fault in the old covenant!!! Praise God.