Is resonance always stabilizing
Resonance only occurs when the result is beneficial, that is when a more-stabilized molecule will result. If resonance (delocalization) occurred in a compound such as cyclobutadiene to produce a square molecule with equivalent bond lengths, an antiaromatic molecule would be the result.  Therefore, resonance does not occur and a square molecule with equivalent bond lengths is not produced.