I genuinely don't see how anything religious based helps you avoid indoctrination, but that's just me.
I think it's more finding a balance within your spiritual realm. More than religious doctrine.
I probably would've graduated with higher rank if I hadn't questioned my authority as many times as I did. And Harbor new cadets in my room.