She immensely prayed for Matthew's healing and confessed her secret wholeheartedly to God. Believing that through bargaining and admitting, that she sinned can save Matthew from the brink of death. That's what she believes.
Melissa's father upholds that wisdom to her when she's just a child. Now that she has grown, she remembers and still follow his teachings.
Meanwhile, on the other side of the room. Matthew and his friends were listening very intently, laughing to their hearts content.
Hearing the conversation outside made them giggle a lot. Especially, because of Philip's performance. As to the fact that he tricked and pursuaded Melissa to act this way, made them want to award Philip as a drama king!
Things are getting interesting here. When Matthew himself heard her confession. He couldn't believed that Melissa is just acting, what a clever move to obtain her freedom and he didn't see that coming.