It may be weird to say but please bear with me.
I understand your confusion. The internet is filled with garbage when it comes to bitcoin. The kind of articles I'm referring to may already have affected you negatively.
The above answer should be enough if you were wondering what's the point of bitcoin mining. However, I'm going to reply to this specifically:
What's the main point of mining bitcoin if the value goes up?
The miners are rewarded in bitcoins, not in a fiat. For instance, if you successfully solve a block, you will be rewarded with 6.25 BTC regardless of the exchange rate. This means that if the price rises, then the miners' reward will also worth more. Hence, they're
even more incentivized to mine. So the main point of mining bitcoin when its market value goes up is that you can have a greater income with the same cost, which means more profit.