Never. Failure is inevitable as an entrepreneur. Instead of viewing it as a bad thing, use it as a learning experience, improve, and persevere.