The virtuous cycle of failure and its teachings