Is perseverance something you are born with or is it something achieved due to experience?

Is perseverance something you are born with or is it something achieved due to experience?