ref
late 16th century (in the sense ‘cheat, deceive’): perhaps related to French bafouer ‘ridicule’ or obsolete French beffer ‘mock, deceive’.