If a lot of energy is released when making bonds and only a little energy is required to break them, then overall energy is released and the reaction as a whole is exothermic
If a little energy is released when making bonds and a lot is required to break them, then overall energy is taken in and the reaction as a whole is endothermic