Why is the programmatically removed paragraph item still showing after adding a new paragraph to the node?

I have a paragraph field in a node with unlimited add paragraph. I am removing these paragraph programatically. Its removing but when I am adding a new paragraph its adding blank paragraph along with. I am using this code to remove paragraph use Drupal\paragraphs\ParagraphInterface; use Drupal\paragraphs\Entity\Paragraph; $ids = \Drupal::entityQuery(‘paragraph’)->execute(); foreach ($ids as $id) { $paragraph…