David is invited to become king of all the tribes. He is known to be pleasing to God. In order to promote unity David chooses Jerusalem as his capital.