嘘も方便(うそもほうべん)

Japanese vocabulary

Meaning: the end justifies the means; circumstances may justify a lie

See it used in real works