2 Samuel 24:19

24:19 So David went up as Gad instructed him to do, according to the Lord’s instructions.

2 Samuel 24:2

24:2 The king told Joab, the general in command of his army, “Go through all the tribes of Israel from Dan to Beer Sheba and muster the army, so I may know the size of the army.”

2 Samuel 8:1

David Subjugates Nearby Nations

8:1 Later David defeated the Philistines and subdued them. David took Metheg Ammah from the Philistines.