When is is okay to leave a scenario (job, relationship…) before you feel good in this scenario?

If I have this right, Brooke teaches to not leave a situation – job, relationship… — until you feel great within the situation.
I get that. Because this about who we are being vs our circumstance.
When is it okay to leave a situation before you feel good in a scenario? I heard this discussed in an August coaching session with Brooke in the context of a relationship. I’m trying to remember what she said.
I’d love some clarity around this.
Thank you!