given how d&d do these things, Meli losing her faith is prerequisite for a surprise resurgence of great magic.
it's like how they only kill somebody if all our hopes and dreams are riding on them or if they have a coming to jesus moment. the opposite is also true, when somebody is destitute, they couldn't be more important and great power awaits them.