大事の前の小事(だいじのまえのしょうじ)

Japanese vocabulary

Meaning: don't put the trivial ahead of the important; don't sweat the small stuff; don't bother with the details (before embarking on a great enterprise); read the fine print; be careful of the small things (before embarking on a great enterprise)

See it used in real works