give (someone) something, typically money, in recognition of loss, suffering, or injury incurred; recompense
payments were made to farmers to compensate them for cuts in subsidies
reduce or counteract (something unwelcome or unpleasant) by exerting an opposite force or effect
the manager is hoping for victory to compensate for the team's dismal league campaign