Isaiah 29:24

24 Then the wayward will gain understanding, and complainers will accept instruction.