We use this expression when the situation or event did not develop as you hoped it would.
You can use this phrase in ………… language.
Spoken
Informal
Example 1
I believed that was the end of the conversation, but no such luck – he just kept on talking.