Can confirm this. Teaching is a pass / fail grade for new professors to get tenure in most places. Your ability to get grant funding and publish highly cited papers are astronomically more important to the university than your teaching abilities.
I was told by a seminar speaker one time about a pre-tenure professor who was awarded his University's highest teaching award one day. The very next day he was denied tenure because he didn't publish enough.
I recommend reading the book "Tenure Hacks" [1] to anyone interested in pursuing a career as a tenured professor. I don't agree with all of the points in the book, but it is an important and eye-opening alternative perspective to the typical narrative surrounding academic positions.
[1]: https://www.amazon.com/Tenure-hacks-secrets-making-tenure/dp...