So David and his men went up to Baal-perazim, where he defeated the Philistines and said, “Like a bursting flood, God has burst out against my enemies by my hand.” So they called that place Baal-perazim.
This narrative of David's triumph over the Philistines is much the same with that, Sa2 5:17, etc. 1. Let the attack which the Philistines made upon David forbid us to be secure in any settlement or advancement, and engage us to expect molestation in this world. When we are most easy something or other may come to be a terror or vexation to us.
Commenting on 1 Chronicles 14:8-17
they came up to Baal-perazim; and David smote them there--In an engagement fought at Mount Perazim (Isa 28:21), in the valley of Rephaim, a few miles west of Jerusalem, the Philistines were defeated and put to flight.
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. (c) That is, the valley of divisions, because the enemies were dispersed there like waters.