I don't think your Bitcoin wallet can be hacked as long as you don't show any of your private information related to the wallet. It should be really one of the hardest things for the hackers when it comes to crypto wallets. Decentralized systems are more secure than centralized ones.
That is not the only reason why our wallet got hacked, yeah, obviously if you show off your wallet information publicly then it will et hack, so never share it to anyone and even to your friends. Our crypto wallet can be hacked as well whenever we have downloaded a fake application on our device or we had clicked a malicious link in our device, the virus that we can have for both things can be the reason for us to get hacked because those virus are created by the hackers.