Both patterns match inside one sentence: David
and Peter. The count is of sentences, not of how often
either name is repeated inside one. A chapter that names them pages apart is not here.
The king, and the psalmist. The apostle.
22.) (i) Observe also; it is with praise (that he says of him), "David after that he had served the will of God:" just as Peter--seeing it was then the beginning of the Gospel--making mention of him, said, "Let it be permitted me to speak freely of the patriarch David." (ch. Chrysostom, On the Acts · Homily 29
And so great was the glory of the man, that Peter, so many years after, in exhorting the Jews, spake on this wise: "Let me freely speak unto you of the patriarch David, that he is both dead and buried." Chrysostom, On St Matthew · Homily 26