Buddha we

Protected Mind Leads To Happiness

While the Buddha was in residence at Sàvatthi, a certain banker’s son approached an elder who resorted to his house for alms and said to him, “Venerable, I desire to obtain release from suffering. Tell me some way by which I can obtain release from suffering.” The elder replied, “Peace be unto you, brother. If you desire release from suffering, give alms-food, give fortnightly food, give lodging during the season of the rains, give bowls and robes and the other requisites. Divide your possessions into three parts: with one portion carry on your business; with another portion support son and wife; dispense the third portion in alms in the religion of the Buddha.” “Very well, Venerable,” said the banker’s son, and did all in the prescribed order. Having done it, he returned to the elder and asked him, “Venerable, is there anything else I ought to do?” “Brother, take upon yourself the three refuges and the five precepts.”

The banker’s son did so, and then asked whether there was anything else he ought to do. “Yes,” replied the elder, “Take upon yourself the ten precepts.” “Very well, Venerable,” said the banker’s son, and took upon himself the ten precepts. Because the banker’s son had in this manner  performed works of merit, one after another, he came to be called Anupubba. Again he asked the elder, “Venerable, is there anything else I ought to do?” The elder replied, “Yes, become a monk.” The banker’s son immediately retired from the world and became a monk. Now he had a teacher who was versed in the Abhidhamma and a preceptor who was versed in the Vinaya. After he had made a full profession, whenever he approached his teacher, the latter repeated questions found in the Abhidhamma, “In the religion of the Buddha it is lawful to do this, it is unlawful to do that.” And whenever he approached his preceptor, the latter repeated questions found in the Vinaya, “In the Religion of the Buddha it is lawful to do this, it is unlawful to do that; this is proper, this is improper.” After a time he thought to himself, “Oh what a wearisome task this is! I became a monk in order to obtain release from suffering, but here there is not even room for me to stretch out my hands. It is possible, however, to obtain release from suffering, even if one lives the householder’s. I should become a householder once more.”
The Buddha said, “Monk, are you discontented?” “Yes, Venerable, I became a monk in order to obtain release from suffering. But here there is not even room for me to stretch my hands. It is possible for me to obtain release from suffering as a householder.” The Buddha said, “Monk, if you can guard one thing, it will not be necessary for you to guard the rest.” “What is that, Venerable?” “Can you guard your thoughts?” “I can, Venerable.” “Then guard your thoughts alone.”
Source: Dhammapada (Verse 36)