The text is from the Taittiriya Upanishad, the second shloka in the eleventh anuvaka. This part is also known as shikshavalli. A disciple is actually being addressed and told ‘Be one to whom the mother is like a god, the father is like a god, the preceptor is like a god and a guest is like a god.’