5 Behold, you have been entrusted with these things, but how strict were your commandments; and remember also the promises which were made to you, if you did not transgress them.
6 And behold, how oft you have transgressed the commandments and the laws of God, and have gone on in the persuasions of men.
7 For, behold, you should not have feared man more than God. Although men set at naught the counsels of God, and despise his words—
8 Yet you should have been faithful; ...
9 Behold, thou art Joseph, and thou wast chosen to do the work of the Lord, but because of transgression, if thou art not aware thou wilt fall.
10 But remember, God is merciful; therefore, repent of that which thou hast done which is contrary to the commandment which I gave you, and thou art still chosen, and art again called to the work;
11 Except thou do this, thou shalt be delivered up and become as other men, and have no more gift.
A good point is made here (from a friend at FAIR), "If these revelations were not from God, I doubt they would contain the scathing criticisms and calls to repentance naming specifically the prophet Joseph."
It still seems odd to me that you find nothing like this in his journals but you find it in scripture being published to the world.