means that
wrongdoing may take a long time to be judged or punished, but the saying expresses faith that justice will ultimately be thorough.
also
The mills of God grind slowly, yet they grind exceeding small.
For example, it may take a long time, but evil will be punished in the end; Justice maybe slow, but it will come eventually. This is a situation where “The mills of God grind slowly, yet they grind exceeding fine” applies.