Apple really wants you to upgrade to Catalina. So much so, that there is now a permanent badge in System Preferences prompting you to take the plunge.
But if you’re not quite ready yet for any one of a myriad of reasons, you can get rid of that damn, red dot with:
sudo softwareupdate --ignore "macOS Catalina"
via Rob Griffiths