If your knee feels fine until you increase mileage, the issue is usually a gap between training demand and your body’s current capacity to handle load.
Pain around the front of the knee when you run is usually not a sign that your knee is wearing out. It is often a force and movement problem that can be changed.