In a March 1833 revelation, Joseph is warned by God about his "high-mindedness and pride" and is commanded to avoid slothfulness and uncleanness.
Section 90:17-18, Doctrine and Covenants, The Church of Jesus Christ of Latter Day Saints, accessed November 24, 2023
17 Be not ashamed, neither confounded; but be admonished in all your high-mindedness and pride, for it bringeth a snare upon your souls.
18 Set in order your houses; keep slothfulness and uncleanness far from you.