2 Samuel 5:21

And there they left their images, and David and his men burned them.

After David defeated the Philistines, he and his men took possession of the images the enemy had left behind. The Philistines had brought those images with them into battle to secure victory for themselves. Their capture and burning showed that their gods were powerless to protect them from defeat. This burning of the images belongs among David's victories over the Philistines that established him as king and freed his kingdom from foreign invasion.