Just finished reading the book and I wouldn’t say the bleakness has no purpose. The bleakness contrasts those brief moments of un-bleakness (hope feels like too strong a word in this context). Those moments like drinking coke or finding shrivelled apples on the brink of starvation became so much more meaningful because of how bleak their situation is.