I see your point but I’d argue that if you feel bad about this it means your core value is actually financial stability over sticking to your principles at any cost, and in that case your actions and intentions didn’t align with what you truly value.
I'm not disagreeing with you at all. If you value financial stability over taking a stand about things you might disagree with, then lying for survival is aligned with your values. Using the ideas I described above, this would be completely acceptable for the person doing that.