It seems you don't fully understand what are sanctions against big countries, in this case, one of the superpowers, that committed full-scale invasion of another one, especially in Europe.
Such an attack isn't something comparable to any war from WW2. If the world can't punish attackers painfully enough, we will see more similar events...