My very first scholarly publication, aside from two brief Notes in MIND, was the Appendix of my doctoral dissertation, which appeared in the January-March issue of the JOURNAL OF THE HISTORY OF IDEAS under the title "Kant's Debt to Hume via Beattie." The Beattie was James Beattie, whose popular 1770 book An Essay on the Nature and Immutability of the Truth played a critical role, I showed, in Kant's knowledge of Hume's sceptical attacks on causal inference. The attack brought Kant up short and led him to develop the deepest and most original doctrines of the Critique of Pure Reason.
I was scornful of Beattie, whose arguments against "sceptics," among whom he included Descartes, were, I thought, jejune. It took me much of a lifetime to notice and pay proper attention to the fact that whereas Hume and Kant were blatant racists, Beattie was [in that very book] a strong opponent of the Slave Trade.
Live and learn.