# What two groups of people did David attack and defeat? He attacked and defeated the Philistines and the Moabites.