In my post on God humbling us by raising us up I said that the situation in which a person's friend found herself reminded me of what Scripture calls the Sin against the Holy Spirit or the Unforgivable Sin. Because I don't want to leave any reader with the sense that I was describing a single personal act of sin on that person's part but rather, a situation of enmeshment and bondage involving a piety so paradoxical and destructive that the real God could not get a hearing, I want to clarify some.
I have been thinking about this situation since I first read about it and I am feeling somewhat awed (in the sense of being appalled) by the bind this person was described as being in. It is one thing to think of someone who has repeatedly chosen and chosen again something which is anti-God in a blatant way. We can understand how a person doing that might empty themselves of the capacity to respond to love (and ultimately to that Love-in Act we identify as God) and thus be in a state of unpardonable sin or alienation from (the REAL) God. But it is very hard to think of someone embracing a form of piety which is replete with references to God and who does so desiring on some level at least to embrace God, but who is really only embracing an idol in the process. The upshot of this choice is what I described as an incredible downward spiral, a situation of enmeshment and self-will which God may not be able to effectively penetrate and redeem --- at least not this side of death.
The idolater yearns for God; that yearning is innate because God is present as a constitutive part of our being and makes us "meant for" and capable of union with God. No idol can meet this yearning or complete the person in a foundational communion but it (falsely) PROMISES to do so. When one puts one's trust in THIS false god and this empty promise, idolatry can also effectively close the person to the real God who is vastly different than the person imagines or has "bought into". What happens then is understandable but truly terrifying: when one speaks of a God of absolute futurity, of a love that does justice, of an unceasing love which is exercised in mercy, to a person who has come to think of God as One who causes suffering "in reparation for sin" or whose justice is distributive or retributive, for instance, the message may not be heard. The God proclaimed may be rejected, not out of spite, but because the person really cannot "hear" this proclamation.
Such a person may speak of God incessantly, explain the events in her life in terms of this "god", pray often (in the sense of crying out to God), and even have what seem to be extraordinary religious experiences of some sort, but, unless there is genuine growth in love, in human wholeness, compassion, and the ability to see others with the eyes of God, that is, unless the person truly grows in the dynamic presence of Love-in-Act, then all of this is empty. I believe this is a piece of what Jesus meant when he said, "Not everyone who says to Me, 'Lord, Lord,' will enter the kingdom of heaven, but he who does the will of My Father who is in heaven will enter. Many will say to Me on that day, 'Lord, Lord, did we not prophesy in Your name, and in Your name cast out demons, and in Your name perform many miracles?'"And then I will declare to them, 'I never knew you; depart from me you who practice lawlessness!"' (The Law of love, the Law which Jesus fulfills and is the incarnation of, the law which is truly written on our hearts is what is being referred to here.)

(N.B., One problem in this case, besides the assertion that God gives us desolations --- desolation is the work of "bad spirits" not of God --- is the fact that St Ignatius taught that consolations (like the pain sometimes associated with healing) may be associated with a somewhat uncomfortable experience so long as they bring us closer to God and thus increase our capacity for love and our growth in human wholeness; a desolation, on the other hand, was associated with anything that leads us away from God --- even if it is or was a relatively blissful experience. The measure in each of these is not the affective quality of the experience per se so much as it is the degree to which it makes us greater lovers and truly holy in the manner of the God who is Love-in-Act. It would be hard to argue, in such a case, that God causes experiences which are made to move us away from Him. It would similarly make discernment impossible if both consolations and desolations were from God; how would we discern what was right and best for us if misery, selfishness, and personal deterioration were as authentically Divine as growth in human wholeness, the capacity for love, and profound and genuine happiness?)

Recommendations for Reading: Beale, GK, We Become What We Worship: A Biblical Theology of Idolatry, Meadors, Edward P, Idolatry and the Hardening of the Heart: A Study in Biblical Theology