IMHO religion can be a stepping stone to spirituality, however once that spirituality has been attained it may then become a very slippery stepping stone indeed.
Look at those who are religious, with no spirituality, and then compare them to those who are spiritual with or without a religious life.
The contrast is obvious.
How often the slippery road of legalism is entered upon, though.
If only folks would remember the tenets of "love" and "liberty", so much pain of soul (own and others) might be avoided.