Yes. This is so true. This is something we need to teach young software engineers - to try and identify the true business model from the model that the company is claiming to incoming employees. To question what you've been told at face value, and to be brave enough to walk away or put your foot down when you find out you've been had.
I've been there. I often wonder how many others in the industry have.