Technically, your funds should be safe as Coinbase is one of the regulated big exchanges and running for a long. Funds stored on their wallet is completely secured, as it should be.
but is it safe? Yes, because they are already big and popular
Big, popular, regulated, established, running for a long time, etc., all mean next to nothing when it comes to the security of your funds. Every big, reputable, longstanding exchange has been hacked for users' coins at some point. Every big, reputable, longstanding exchange has been hacked for users' data at some point. 6000 Coinbase users were hacked just a few months ago and had their coins stolen, and Coinbase have admitted to selling user data to third parties without their users' knowledge or consent.
Are you
safer using Coinbase compared to some completely unknown exchange? Sure. But are you objectively safe using Coinbase? No.
Lots of people in this thread are mentioning Electrum, but not a single person has given advice on how to use it safely. You should only download it from electrum.org, and you
must verify your download against ThomasV's and SomberNight's public keys prior to installation to ensure you have downloaded a non-modified version.