Sanctions for Iran is about limiting their economic growth. So that they are less effective should they try to attack their neighbors.
Civilians in a dictatorship are probably not entirely with responsibility for the regime actions either.
Regimes can rarely survive without supporters.