The former is spirituality. The latter is religion.
"Religion cannot stand Spirituality. It cannot abide it. For Spirituality may bring you to a different conclusion than a particular religion — and this no known religion can tolerate. Religion encourages you to explore the thoughts of others and accept them as your own. Spirituality invites you to toss away the thoughts of others and come up with your own."― Neale Donald Walsch, The Complete Conversations with God
"When I use the term spiritual, I use it in a manner that transcends the binary of theism versus atheism. One can act entirely spiritual with or without a belief in “god” however one understands that term. Spirituality only requires love, empathy, compassion, humility, honesty and courage." See my https://medium.com/illumination/spirituality-redefined-ff45cb53eaf2