"挖掘以破坏基础" can be translated into English as "excavate to undermine the foundation" or "dig to damage the foundation".
Here, "excavate" or "dig" conveys the action of digging, while "to undermine/damage the foundation" expresses the purpose or consequence of the action, which is to harm or weaken the foundation.