No, it is the other way around. When an electron moves from one energy level to another energy level more distant from the nucleus, it gains, not emits energy. The closer it gets to the nucleus, the more energy it emits. If it is far from the nucleus, it gains more energy.