the way the cookie crumbles

that's the way the cookie crumbles

There is nothing we can do about the way things have unfolded, especially bad ones, so there is no reason to be upset about it. I'm pretty gutted about not getting into the grad school program I wanted, but that's just the way the cookie crumbles.
See also: cookie, crumble, way
Farlex Dictionary of Idioms.

the way (or how) the cookie crumbles

how things turn out (often used of an undesirable but unalterable situation). informal, chiefly North American
See also: cookie, crumble, way
Farlex Partner Idioms Dictionary
See also:
  • That’s the way the cookie crumbles
  • That’s the way the mop flops
  • that's how the cookie crumbles
  • that's how the mop flops
  • that's the way the cookie crumbles
  • that's the way the mop flops
  • that's the way the ball bounces
  • that's how the ball bounces
  • That’s the way the ball bounces
  • DAT
References in periodicals archive
"When it came to the important time I ended up messing up, but that's the way the cookie crumbles sometimes.
He lay down and burped a giant burp, while Catalina happily met her family with hugs and a fresh batch of her favorite cookies, saying "That's the way the cookie crumbles!" Delicious, edible looking illustrations with sly images of little Russian nesting dolls decorate the pages of this modern fable of "Catalina and the King's Wall," a homily warning against greed and separatism that speaks to today's children and adults as well.
Over the next few weeks workshops entitled Pukka Picnics, That's The Way The Cookie Crumbles, and Pizza & Pasta, will help children boost their culinary know-how.
That's the way the cookie crumbles, but it's also the way a key $7 billion category is seeking to grow and become a greater presence on supermarket shelves and in shopping carts.
"But that's just the way the cookie crumbles and you just get on with it," he said.
"In this business, that's the way the cookie crumbles."