That's not entirely true. Definition of failure varies broadly for different people the same way definition of success. I know few entrepreneurs very closely who made their first startup very successful. Sure, it was very challenging along the way, but they made it in the end.
May be the fair statement would be - "Failed in one startup doesn't mean you failed as an entrepreneur. There is still hope that you can make the next one successful."