means that
an apparently generous offer from an adversary may conceal a trap. The expression alludes to the Trojan Horse.
also
Fear the Greeks when they bear olive branches.
For example, sometimes people are trying to trap you with their gifts This is a situation where “Fear the Greeks bearing gifts” applies.