Deletion with upsert is not working

This query does not seem to delete the node and child nodes, though I am not able to view the node data, but the node is still there with its uid.

I want to delete all these child nodes along with the node whose uid I provide.

Screenshot from 2023-04-24 15-45-18

I can still query these nodes using the ‘query’ I shared earlier to view their data which shows that the node is not actually deleted.