Most households should buy a cordless drill first, because it covers drilling and light screw driving, while an impact driver becomes useful later for long screws and tougher fastening.
The best first cordless drill is usually compact, easy to control, and strong enough for drywall, wood, light anchors, and ordinary screws rather than oversized for hypothetical heavy work.