Two years of foreign language would be a negative.
But I just learned a colleague’s child was accepted into Yale, Columbia, and others in last cycle with two years foreign language . They did provide some context in the additional information section about this although the high school does provide four years of a couple of foreign languages.