1 Samuel 27:8pashat
And David and his men went up, and invaded the Geshurites, and the Gezrites, and the Amalekites: for those nations were of old the inhabitants of the land, as thou goest to Shur, even unto the land of Egypt.
David and his men raid neighboring peoples while living among Philistines.
1 Samuel 30:1pashat
And it came to pass, when David and his men were come to Ziklag on the third day, that the Amalekites had invaded the south, and Ziklag, and smitten Ziklag, and burned it with fire;
Amalekites invade and burn Ziklag, David's town.
2 Chronicles 28:18pashat
The Philistines also had invaded the cities of the low country, and of the south of Judah, and had taken Bethshemesh, and Ajalon, and Gederoth, and Shocho with the villages thereof, and Timnah with the villages thereof, Gimzo also and the villages thereof: and they dwelt there.
Philistines invade Judah's cities and settle there as punishment-era loss.