あげく(に)
ageku (ni)
in the end; after all (negative result)
[In the end / After all that]
Connection: Verb た form + あげく(に) / Noun の + あげく(に)
Usage: Indicates that after a prolonged effort or process, an undesirable or negative result occurs. Emphasizes that despite all the effort or time spent, the outcome was bad.
Examples:
長い間悩んだあげく、会社を辞めることにした。(After agonizing for a long time, I decided to quit the company.)
口論のあげくに、二人は別れてしまった。(After endless arguments, the two ended up breaking up.)
何時間も迷ったあげく、結局何も買わなかった。(After hesitating for hours, I ended up buying nothing.)