Actually, that is a common misconception that Thief and Thief II sold poorly, just because the series was never extremely popular. It was a rather niche game, especially back then.
In actuality though, the Thief series sold quite well, and did good business for Looking Glass. It was one of the few things that kept them afloat for as long as they were.