@zmohamed
I have an idea, you can try utilizing this and see if this helps you in finding a solution to your problem.
After you do GET ITEMS to extract information from SharePoint list and LIST ROWS PRESENT IN A TABLE from excel add an APPLY TO EACH loop.
--> In the loop specify the LIST ROWS PRESENT IN A TABLE body in the (select an output from previous step) this will help you in looping through all the items present in the SharePoint list.
--> Inside the loop add a condition to check if the excel value exists in the SharePoint list and if true add an append to array variable action to store the ID values in an array.
--> Add another APPLY TO EACH loop and select the GET ITEMS body as input to that loop. Inside this loop add a condition to check if ID to the SharePoint list item present in the array variable. If TRUE do nothing if FALSE delete the item from SharePoint list.
This approach will help in resolving the behavior but may take a little time in implementation. Hope you can play around this approach.
If the information shared helps you in resolving the issue, please consider giving a thumbs up 👍 and mark solution as resolved.