No, that may be how it looks, but the reality is much more complicated.
The missile strike on the US base was was for a two-fold reason. The first was to remind the US that Iran may only be a regional power, but it is a regional power with a lot of ballistic missiles and they can bomb the shit out of several US bases nearby. The second was a show of force to its people, but without having inflicted any serious damage on the US. This may be in fact, a way for Iran to avoid escalation while avoiding an internal political back home.
Iran is not really unstable, not anymore than many other functional countries. And Iran is functional, that's why we're so hard on it. If we were to step aside, there is a very real possibility of Iran taking control of most, if not the entire region. Iran is a very real threat.
My guess is that Iran is going to have two phases for returning the favor for the death of their general.
The first is the very public response, which allows both sides to save face and de-escalate.
The second is where I expect Iran to unleash a wave of bloodshed through the middle east through their backed milita and terrorist groups.
There is the third possibility that they try for assassinating a US official, but that would bring back the escalation.