Some people are critical of postproduction, thinking a skilled photographer should get everything right in-camera. However, even the famous film photographers used postproduction, burning and dodging to enhance their work in traditional darkrooms. It is simply the second part of the creative process for producing the end image envisioned by the photographer.
However, it’s wise to get as much right in-camera as possible, so that editing time is spent doing things that your camera cannot, rather than fixing exposure issues.
After all, postproduction can’t rescue a bad shot, but it can make a good one great. The key is to learn what you need to capture in-camera in order to create the image you were hoping for.