Knowing if something is worth the trouble of trying to get it, i.e. does the reward outweigh the punishment.
“I’m not going to bother trying to ask her out. She’s still got a boyfriend, and the juice isn’t worth the squeeze.”
“I’d rob a bank if I could. The juice is worth the squeeze.”