In some cultures and historical periods, teaching has held a very high status, akin to that of religious leaders or scholars. Think of ancient Greece or the role of Confucian scholars in China. Even today, certain specialized teaching positions, like university professorships in highly competitive fields, command significant prestige.
However, in many other contexts, teaching, particularly at the K-12 level, may not be viewed as a particularly prestigious profession, often suffering from comparatively lower pay and less social recognition than other professions requiring similar levels of education and skill.
So, there's no single answer. The prestige associated with teaching is highly variable and depends on a number of factors.