means that
even desirable things may have unpleasant aspects or imperfections. Lees are the sediment left in wine.
The job offered excellent pay and interesting work, although the long commute was a serious disadvantage. “There are lees to every wine.”