Consciousness doesn't emerge from matter because it has always been in matter. Consciousness is a fundamental quality that exists everywhere and in everything.
Where there is spirituality there is freedom, but religion is rigid. To be spiritual you have to step aside from the belief and go more into knowing, which gives you a greater freedom, including the freedom to question. Unless you question you're not going to get past the beliefs.