To lose weight, we should not eat hamburgers.
用动词不定式作状语要注意语态。减肥的主语是人而不是汉堡,所以调整为主动语态。 句意:为了减重,我们不能吃汉堡。