You cannot delete updates from WSUS. You can however decline update directly in WSUS. This will cause ConfigMgr to mark the update as expired and if the update is not deployed, ConfigMgr will remove the update after 7 days.
Lots of details on all of the cleanup behaviors at https://learn.microsoft.com/en-us/mem/configmgr/sum/deploy-use/software-updates-maintenance