Why did God choose Solomon to succeed David as king?