To use unfair means to deprive (someone) of (something).
To get the better of; to outsmart, to beat in a competition of wits.