The book is absolutely right . This is because cyclohexane exists in the form of chair and boat conformation( of which chair is more stable than boat) and not as a planar cyclic like benzene. This is why cyclohexane has less energy than benzene.
Please rate this reply if you find it helpful.
Correct me if I am wrong...