Questions & Answers about Antes de jantar, eu lavo as mãos com sabonete.
Because antes de + infinitive is the normal pattern for before doing something.
- antes de jantar = before having dinner / before eating dinner
- antes do jantar = before the dinner, before the meal/event itself
Both can be correct, but they are not exactly the same structure. In your sentence, jantar is being used as a verb, so de is what you expect.