Finished torrents that never leave the client are a classic. The setting exists, but it needs two other things to work.
In Sonarr and Radarr, a download client has a Remove Completed checkbox. For torrents, Sonarr only removes the torrent once the client says seeding is complete and the torrent is stopped. So your client has to pause or stop at the goal. The wiki says you should not set the goals in the client, only the pause action, and put the ratio or seed time on each indexer.
Also the torrent has to stay in the same category.
Settings > Download Clients > (client) > Remove Completed: on
Settings > Indexers > (indexer) > Seed Ratio / Seed Time
In qBittorrent, the wiki says you tick the ratio or time box, set the action to pause, and untick the box again. The Seed Ratio and Seed Time fields are advanced options, so turn on Show Advanced.
The caveat: if you use Prowlarr with Full Sync, set the seed goals in Prowlarr, or the next sync overwrites them. And a post-import category breaks the whole chain.
If a torrent is deleted too early, check whether your client really paused, because a client that keeps seeding past the goal never reports the torrent as stopped, and Sonarr leaves it alone.
Further reading: Sonarr settings, Servarr Wiki, Sonarr FAQ, Servarr Wiki, On this site: a 60-minute torrent delay in Sonarr and Radarr lets a Usenet release win, On this site: pair Radarr's Released availability with a negative Availability Delay, On this site: Guide: from request to Jellyfin: how Seerr, Sonarr, Radarr, Prowlarr and your download client fit together
Going deeper: Guide: link Prowlarr to Sonarr and Radarr once, and stop typing indexers into every app