Joseph admits that, in his youth, he was guilty of "foolish errors" and the corruption/foibles of human nature.
Joseph Smith, History, 1838–1856, volume A-1 [23 December 1805–30 August 1834], 4-5, The Joseph Smith Papers website, accessed December 19, 2022
During the space of time which intervened between the time I had the vision and the year Eighteen hundred and twenty three, (having been forbidden to join any of the religious sects of the day, and being of very tender years and persecuted by those who ought to have been my friends, and to have treated me kindly and if they supposed me to be deluded to have endeavoured in a proper and affectionate manner to have reclaimed me) I was left to all kinds of temptations, and mingling <with> all kinds of society I frequently <fell> into many foolish errors and displayed the weakness of youth and the corruption <foibles> of human nature which I am sorry to say led me into divers temptations to the gratification of many appetites offensive in the sight of God.