Right Actions vs. Wrong Actions;
And
Wise Actions vs. Unwise (stupid) Actions.
Right and Wrong have to do with their moral acceptability in the eyes of God.
Wise and Unwise actions have to do with whether the action will accomplish the intended ends.
These are different criteria.
Many good people do unwise things. It is not evil to be stupid.
There is, however, a significant relationship between these two criteria.
If you wish to perform a right action, if the situation is such that your actions impact other people, it is incumbent on you to choose an actions that will have a beneficial (or at least neutral) impact on other people. Thus, for these situations, it is necessary to put forth your best effort to act wisely.
If you wish to perform a wise action it is necessary to choose only those actions that are morally acceptable in the eyes of God.