Your intentions are correct. It’s better than giving an impression of a non-religious person which many people are doing. Do it with the intention of spreading knowledge and guiding people including yourself. If everyone was afraid of what others think then there would be no one doing anything good.