Yes, it can be correct to fold after investing 1/3rd of our stack, despite popular advice to the contrary. It purely depends on the type of hand we have (weaker hands are less likely to be pot committed even after investing a large chunk of the chip stacks). The board runout is also important, a hand might be committed on earlier streets but not committed on later streets if the runout is bad.