The energy levels which are further from the nucleus are at a higher energy than those which are closer to the nucleus. The first energy level contains a relatively low amount of energy as it's closer to the nucleus, whereas the second energy level contains a relatively high amount of energy because it's further from the nucleus and so on.