Was everything in wisdom books a religious teaching?
No, much was worldly wisdom, interspersed with religious ideas.