I disagree. I think that trust not built on honesty is at best unearned and probably false. I don't believe that the lying GM will inevitably be exposed, but I believe they'll very probably be exposed, and the radical reduction of fun when that happens is not worth the marginal increase of fun before then.
The thing that you don't get is that the players don't want to expose the DM in any case, they just want to play an epic story. It's a game of make believe anyway, and the DM can create whatever they want, on the spot, just "because". He does not even need to lie to destroy you, if that is what he wanted.
Honestly, sometimes the defensiveness of some people (not specifically you) on these matters makes me think that they don't understand that the DM does not play against the players. It would be really silly if he did, because he would win instantly every single time.
The DM is playing alongside the players, in fully cooperative mode, to tell an incredible story. Assuming that he would harm you would be akin to your trusty coach sabotaging you. But even your trusty coach can lie now and then if he thinks you need it, and although you might see through it later, you will still be OK with that, because he told you exactly what you wanted and needed to hear.
Now, the DM sometimes makes mistakes, who doesn't. But again, the players forgive him because even when he made mistakes, it's still with the intent of making the best game he can for the players.
Really, this time, trust me, it makes the game much better.