Depends on the type of equity being offered, and who it's being offered to.
The equity being offered here is probably worth nothing, or worse, is a liability. Especially since it's being offered to a "young and hungry" AKA "green" programmer who doesn't know that yet.
Are you suggesting that it is unethical for people to work for equity?