Does making pirating some software impossible actually increase its sales revenue?
I'd wager that most people who pirate software wouldn't want to, are even have the means to pay for the full price of the software.
The government can print money at will. Just look at what's happening recently with inflation. The government does not have the right to devalue people's hard work at a whim.
If you were a normal person living in Iran (or any other country to which the US decides to apply arbitrary economic sanctions), you might feel rather different about this.