Drive has various elements to it. If you classify it as 0-100km/h time or instant pick/boost, then yes Civic has that advantage. But apart from acceleration, after 100km/h Sonata feels like a big planted vehicle at high speeds, has better road grip at those speeds and way less air/road noise...
For the other 'drive' elements including:
softness of suspension
width of cabin
long wheel base of vehicle
quality of interior materials and build quality of overall car
features (HUD, full digital display, Apple carplay, electric curtain, electric seats, high quality leather, great stock sound system, panoramic roof, etc.)
comfort of seats (driver lumbar and rear seats with space equal to an E-class)
better cabin insulation
.... Sonata is the obvious winner.