Like any other shoe, the longer you use your climbing shoes, they are more likely to wear out. However, it does not necessarily mean that you should throw away your shoes once they wear out.
Usually, the rubber outsoles tend to wear out far more quickly compared to any other part of the shoes. Therefore, once you start to feel almost every crack and edge under the feet, it is the time to resole your climbing shoes.