The idea here is that our earthly fathers corrected us lest we be an embarrassment to them.
Everything God does in correcting us is not because we are an embarrassment to Him, but because He wants the best for us. And the best for us is that we drink deeply of His holiness, His wholeness.