Good point.
1. Kill enough civilians so that the Iran population learns that attacking Israel is unhealthy. They may quit their "Death to Israel" chants with their leaders and their children.
2. Damage the missile/rocket manufacturing fascilities in Iran.
3. Damage Iran's oil export ports. Iran has made a lot of money from them lately. And the price of oil is going up.
4. Damage Iran's ability to close off the Hormuz Strait that Iran uses to leverage against other Muslim nations that need it. (Iraq, Kuwait, Qatar, UAE, and to some extent Saudi Arabia) This would be a good way to strengthen the Abraham Accords.