顾此失彼

gù cǐ shī bǐ

lit. to attend to one thing and lose sight of another (idiom)

fig. to be unable to manage two or more things at once; cannot pay attention to one thing without neglecting the other

to look after; to take into consideration; to attend to

this; these

shī

to lose

that