The man who does not humble himself and does not cleanse his heart from evil desires fasts in vain. He may eat nothing at all, but it will be to no avail if there is evil inside him. He must first cleanse himself from the evil within in order to receive the Lord.
One of the Fathers said: just as it is impossible for a man to see his face in troubled water, so too the soul, unless it be cleansed of alien thoughts, cannot pray to God in contemplation.