I have generally stuck with Pentax, Takumar lenses throughout the many years I've used Pentax. In the 1970's I bought a 35mm F 3.5 and a 90-230mm lens...made by a company other than Pentax. Why ? They were cheaper. I never had any malfunctioning issues with these two non Pentax lenses, but I was never happy with their performance, compared to the satisfaction I got from my Takumar / Pentax lenses. As a result they have sat on the shelf for many years, largely forgotten. The 35mm in particular, was about $ 40 cheaper than a new Takumar 35 F 3.5 lens. Doesn't sound like much now, but back in the '70's...40 bucks was real money. I kid you not.
I can't tell you how much I've regretted over the years not buying that Takumar 35mm lens.
So since then I've always bought either Takumar or Pentax lenses. I made one exception. Some years ago I bought new, a Sigma 150-500, as I wanted more telephoto than my Pentax 55-300. I haven't regretted the Sigma, but I do take very good care of it, much like I do with the rest of my photographic equipment. Will it last as long as a Pentax lens ? I dunno. I hemmed and hawed over whether I should buy the Sigma, before I finally bit the bullet. At the time Pentax didn't have a new 400-500mm lens available.
On the other hand I have a plethora of Pentax and Takumar lenses which function very well, with the exception of one and that was my fault. It was mounted on my K10D body fell out of my camera case and landed on the lens. I got it fixed and it's ok now. The K10D was fine.