He always had high ideas about chastity but seldom followed them. In my mind Franklin has always embodied "Do as I say, not as I do"--almost in a mischievous or humorous way. I think he did learn from his actions, but not in the same way we usually think of someone "learning" from their actions. He always knew the right answers but preferred to have a little fun.