Is having nihilistic viewpoints haram?

Hi, I wanted to ask a question since no matter what I searched on internet, I still didn’t find an answer. So, I’ve recently gotten into Islam and started practising it. Truth is I’ve always been a Muslim but only in name since I never prayed or knew anything about Islam, because no one around me did either. Now I’m 16 and I wanna learn about Islam as much as I can but I don’t have anyone around me who can teach me so I’m trying to learn on internet. I’ve discovered that I have nihilistic views on life. As we know, nihilism is believing that this life has no meaning, but to me purpose and meaning are two different things. My purpose in this life is to be a good Muslim who’s deserving of Jannah, but when it comes to the meaning of life then I don’t think that this life has any meaning. I mean, we’re all gonna die anyways and this world is just a lie. No one’s gonna remain on it forever, right? That’s why if something bad happens then I don’t really care because I’m one of many billions of people in this world, so why care? Is this thinking of mine haram? 

A platform for Muslims, by Muslims.
Connect & grow with Muslims around the world
@peepso_user_2(RZ)
Walaikumsalam, do you mean interpreting (any) knowledge through the islamic perspective
2 months ago
@peepso_user_1185(AbangPete)
hi there, app not found on Playstore
2 months ago