4 David was thirty years old when he became king, and he reigned forty years.

Read 2 Samuel 5:4 Using Other Translations

David was thirty years old when he began to reign, and he reigned forty years.
David was thirty years old when he began to reign, and he reigned forty years.
David was thirty years old when he began to reign, and he reigned forty years in all.