Why is David mentioned so much more frequently than Josiah?

Consider the following quotes concerning Josiah:

"No king before or after repented before the Lord as he did, with his whole heart, soul, and being in accordance with the whole law of Moses." - 2 Kings 23:25 (NET)

"The king ordered all the people, 'Observe the Passover of the Lord your God, as prescribed in this scroll of the covenant.' He issued this edict because a Passover like this had not been observed since the days of the judges; it was neglected for the entire period of the kings of Israel and Judah. But in the eighteenth year of King Josiah’s reign, such a Passover of the Lord was observed in Jerusalem." 2 Kings 23:21-23 (NET)

(Note that this second quote implies that David neglected the passover).


Perhaps David's life was more eventful? My memory is a little fuzzy, but did I read somewhere that the books of Samuel and the books of Kings were compiled by the same person? The books of Samuel focus almost exclusively on Samuel, Saul, and David. The books of Kings (and Chronicles) try to include a much larger time period. IIRC there was more written than what was included in the Bible books. Certain verses cite a few non-biblical books as sources and references for more information.

Look at some of the other upright people in the Bible and how little is written about them also. Enoch comes to the front of my mind here; he got just four verses in Genesis and a brief mention in Hebrews 11:5