A householder asks the Buddha for advice on how to live well in his present state.
A son asked his Father (the Bodhisatta) for advice on the spiritual life. The Father explained these six gateways leading to great benefit in life.
This verse is a well-known summary of the teaching, given by all the Buddhas. In some of the Dispensations it replaced the more detailed teaching found in the Rules of Discipline (Vinaya).