Protect the sheep in the center of the map from the wild animals. David's staff points in six possible directions. Wait until his staff is pointing at the animal and press left click on your mouse to attack it.