A person's life is not measured by the size of their house or how many miles you live from the beach. A person's life is measured by his or her positive impact on humanity. I realized half a decade ago that my work at Qualcomm was impacting nobody, because of the way Qualcomm tended to pursue pointless "pet" projects. And what's worse, when I finally found a project that had already impacted the world (impact from another company, qualcomm was just getting into the business), I realized that our only goal would be to do some prototyping, write some patents, and move onwards because we were all acting just like the patent trolls (broadcom, interdigital, intellectual ventures, etc.)
I even had a cold-call from Nathan Myhrvold trying to recruit me, in 2009. When I look back, I realized that Qualcomm had become the patent troll it so despised in its early ground-breaking years, by 2010.
So please do as I did. If your job isn't producing anything, take a job somewhere else where you can do something useful and make improvements to the world. Tell the execs with your feets that their ideas are stupid. If nobody will work on a stupid idea, then half the company would be gone by now.
And take care! Your future will get brighter if you follow my advice. What do you want it to read on your epitath? "He lived in a nice House in San Diego right by the beach!" or maybe "Here lies a person who was a model of humanity and made the world a better place!"