yet , it was equally true that they were very prepared for war , having spent the last many years both engaged in and preparing for conflicts with an enemy on their opposite borders , namely the philistines .