Assuming “buying a crypto wallet” means a hardware wallet such as Trezor, Ledger and Coldcard, then you're absolutely secured if you protect your seed phrase. Your funds are secure as long as no one can access your private keys. Usually, on a computer in which you've already installed many apps and it connects to the internet every day, it isn't recommended to install a wallet.
A malware may access your private keys from your hard drive somehow; with the hardware wallet you ensure this can't happen, because the private keys are in the hardware's drive. Each time you want to sign a transaction, your computer just receives the signature directly from the hardware wallet without any private key transferal.
I wouldn't say "absolutely" safe as you put it. The attack vector is significantly smaller than a hot wallet, but from experience nothing is ever 100% or absolute secure. There's bugs that can be exploited, and various other physical attacks that could happen, especially since if you carry a hardware wallet around with you, then that could potentially be less secure through threat of physical harm. Anyone, not to jump down that rabbit hole, I'd probably rephrase, and say hardware wallets are usually enough for most users on a security stand point.
For example, nuclear power plants that don't have internet access have been locally compromised, which was quite well documented in the news a few years ago. My point being is, because an attack vector isn't immediately obvious doesn't mean it's completely safe. I don't actually consider anything safe, besides Bitcoin has had exploits which have been abused in the past, they were rectified, but the very currency we rely on today to store significant amounts of our wealth has been abused previously, and will likely run into problems in the future. Also, banks, hospitals, and military bases have been compromised, and you'd assume that they have the top individuals at the helm making all the security decisions.
Nearly everything with a electronic components can be hacked, remember that hacking isn't always digitally, but can be physical hacks too. No software is ever coded to perfection, though is it reasonably safe? Yeah. Though, a cold wallet will likely always trump it.
The good news is; hardware wallets aren't exactly new technology we've always have the ability to do something like this, but lacked a need. In fact, banks implemented this years ago, where you would enter your pin, and a signature would be created, and the computer just reads that signature, though they have been recalled in the past for security concerns.
Also, I think it's worth mentioning your primary method of storage is only as good as your backup, since physical devices can stop working, be damaged etc.