There are other options that are more secure, for instance if you generate a new private key you should do this on a computer without network connectivity you can for example use the
MyCrypto Desktop App or the
AirGap mobile apps.
it's never safe as long as you are using a wallet through the web. However, you can avoid the possible risk of being hacked. Always check the URL and you can bookmark the URL for not being phished. Also, save your private key in a safe place.