The Lotus Sutra relates one of the Buddha’s teachings towards the end of his life.
In this scripture, the Buddha speaks of skillful means, the ability to bring the Dharma to all sentient beings, no matter what their state of consciousness may be.
As an example of skillful means, the Buddha tells a parable in this scripture about a burning house