WHAT COULD BE THE PROBLEM IF THE CAR IS SHOWING STARTER PROBLEMS BUT THE STARTER IS GOOD?

1998 Mitsubishi Mirage

The car simply makes a clicking sound when I turn the key. I removed the starter had it checked out and it was good apparently. The car had a bad wire so I replaced them all and the distributor cap as well.