I'm not sure it's an idiom. You only need a little bit of whatever it is to have a big effect or last a long time.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
Actually, I believe it means too much of some things are not good.