Always think twice if you are planning as nowadays, bitcoin mining isn’t for everyone anymore, especially individual miners as it’s not as profitable as it used to be. With every halving, the block reward decreases, but the costs of mining (like electricity and hardware) either stay the same or even go up. That’s why cost analysis is neccessary to know if its still worth it.
Since the block reward decreases over time, mining only becomes attractive if Bitcoin’s price rises enough to compensate. However, if you’re a miner who views your earnings as a long-term investment rather than immediate profit, you’ll probably be fine regardless of the market status.
At that point, it's better just to buy BTC itself rather than try to mine it individually.
Lots of factors should align with each other for that to work out today..