Magnetic frustration, Kondo effect, and superconductivity in strongly correlated electron systems