Religious beliefs and philosophical views: a qualitative study