they were shooting themselves in the foot
They were making the situation far worse for themselves.