From her most recent Pitchfork interview, Apple says:
I'm not religious or anything, but now when I'm sad, I do a lot of kneeling on the ground and thanking whatever. Just for me, to acknowledge something and and make it physical so that it sets in. The thing I will say always is, "Thank you for my problems and I send my love everywhere." I am generalizing-- there are problems that just fuckin' suck and are terrible-- but problems like being sad or having your heart broken aren't any less valuable than happiness is. So when things are really bad, nowadays I recognize the value in it because I know it is going to make me appreciate happiness in the future way more.