diff --git a/vendor/magento/module-customer-segment/Model/ResourceModel/Customer/LinksMatcher.php b/vendor/magento/module-customer-segment/Model/ResourceModel/Customer/LinksMatcher.php
index eec2892f4a7d..23bda6ad906c 100644
--- a/vendor/magento/module-customer-segment/Model/ResourceModel/Customer/LinksMatcher.php
+++ b/vendor/magento/module-customer-segment/Model/ResourceModel/Customer/LinksMatcher.php
@@ -126,9 +126,6 @@ private function matchCustomersByCondition(SegmentModel $segment): \Generator
             foreach ($customerIds as $customerId) {
                 yield $customerId;
             }
-            if ($this->configShare->isGlobalScope()) {
-                break;
-            }
         }
     }
 
