Never abandon the possibility of attack. Attack even from a position of inferiority, to disrupt the enemy's plans. This often results in improving one's own position.
"He who wants to protect everything, protects nothing," is one of the fundamental rules of defense.
Superior technical achievements - used correctly both strategically and tactically - can beat any quantity numerically many times stronger yet technically inferior.