 In the Books of Samuel, The Israelites war with the Philistines and are defeated at the Battle of Aphek.The Philistines capture the Ark of the Covenant, but God makes his displeasure known, and they later return it.The ark arrives at Beth-shemesh, where God slays fifty thousand men for gazing upon it (1 Samuel 6).