That's the platonic ideal of a professor's utility, yes. In practice it's more of a mixed bag. Once you leave the top ~100 colleges the scales stop being tipped towards research nearly as much.
Not all universities are primarily research institutions. And I think you'll find that the majority of courses are taught by adjuncts or TAs who are being paid exclusively to teach.