1 Chronicles 14:10-12 (KJV)
10 And David enquired of God, saying, Shall I go up against the Philistines? And wilt thou deliver them into mine hand? And the Lord said unto him, Go up; for I will deliver them into thine hand.
11 So they came up to Baalperazim; and David smote them there. Then David said, God hath broken in upon mine enemies by mine hand like the breaking forth of waters: therefore they called the name of that place Baalperazim.
12 And when they had left their gods there, David gave a commandment, and they were burned with fire.