want to teach but not do research In Mathematics, where every university teacher is expected to do research I find it very difficult to do research without any motive. I keep thinking "this is a useless thing" If there are like minded people around to discuss problems which interests me, I do enjoy it, but alone I find no motive to do research The kind of mathematics I do do not have any practical applications, and those branches of mathematics which have applications do not interest me much.
Why are math faculty made to do research as mostly they are useless work? I like university level teaching and am good at it But a worse teacher who publishes papers have a greater chance of getting teaching jobs than a good teacher who does not do research
Why are math faculty made to do research as mostly they are useless work?
You never know what is "useless" or not!

There are plenty of teaching universities where the faculty have a higher teaching load with little to no research expectations. Also, large research universities often have teaching faculty who primarily teach.