1 Chronicles 29:27 KJV
And the time that he reigned over Israel was forty years; seven years reigned he in Hebron, and thirty and three years reigned he in Jerusalem.
1 Chronicles 29:27, King James Version
In context
26 Thus David the son of Jesse reigned over all Israel.
27 And the time that he reigned over Israel was forty years; seven years reigned he in Hebron, and thirty and three years reigned he in Jerusalem.
28 And he died in a good old age, full of days, riches, and honour: and Solomon his son reigned in his stead.