Well, from the outside you may think it's useless, or it's not helpful, or it doesn't so anything. But, when you look back at it, you can see that that thing allowed something good to bud (hah, no pun intended) from it.
Situational irony! Because, she initially thought she was free from her husbands wrath. She celebrated and her heart was happy, this only to end with such a heartbreak that it kills her.