Isaiah 29:24

24 And those who err in spirit will come to understanding, and those who grumble will accept instruction.