Japanese has the idiom 七转八起:
Basically if you fail 7 times, you should recover from those events and be prepared to rise an 8th time. This is also applies if it is the world or circumstances that knock you down seven times... just remember that you have the ability to bounce back from any kind of adversity.
I'm wondering if there's something similar in Chinese. The closest I've found thus far is
CC-CEDICT 人有失手,马有失蹄: lit. just as humans make mistakes, so can a horse stumble (idiom) / fig. everyone makes mistakes / even the best fall down sometimes
However, the sentiment is not quite the same.
Question: What's a chengyu with meaning similar to the Japanese 七転八起 (fall down seven times, get up eight)?