I try not to use Ancestry.com sources when I can find the source freely available elsewhere (Family Search, etc.). But that's not always possible.
So if the Ancestry links are part of a valid source citation (Ancestry family tree references excluded), I don't think you should delete them. Even if you are not a subscriber to an Ancestry.com subscription, many Ancestry.com source records can be accessed via a local library which may have a library subscription that patrons can use on site.
There are many broken Ancestry.com links that point to family trees there. But there are many links to valid/valuable sources like birth, marriage, death, etc. records available on Ancestry.com as well. Please don't remove any potential valid Ancestry sources from any profiles.