2 Samuel 5:4

David was a son of thirty years, when he had begun to reign, and he reigned for forty years

Other versions

King James Version

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

English Standard Version

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

New International Version

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