I started out with B&D 6 volt drills from Kmart, then Makitas 9.6 volts, then got into the 18 volt Dewalt family of saws and impacts and drills for about 30 years. I still use them to this day even though they are Ni-Cad. I added the Milwaukee family of 18 v Ni-Cads and LI about 10 years ago and they are now my favorite. I have the circular saw, the Sawzall, drills drivers and impacts from 1/2" to 1/4" and a new LI router.
You need to "start a family" when thinking about cordless stuff because the batteries need to all interchange. Why? When the battery on the drill dies in the middle of your project, you can easily grab another fully changed one and keep on workin'. There are so many possibilities now like, chain saws, miter saws, trimmers, woodworking routers and sanders that it's mind blowing.
I will generalize and say pick a drill within your budget and stay with that brand. Get the best battery warranty out there.... Rigid is a lifetime if you register them first I believe. I also have a few Rigid drills and a circ saw, by the way. Good stuff. Makita makes some 10.8 volt compact drills and drivers which are really handy for installing cabinets and drawer slides because of their small size.
I always used 3 of the same drill when building cabinets. One to drill the pilot hole, one to countersink the head and the third to drive the screw. This speeds up bit changing to zero, because each drill is ready for it's application, without changing the bit. The impact drivers come with a quick change collets, but the drills do not. You can get Q/C drill bits however, that fit in the same 1/4" hex drive collets on the impacts.
I don't use a corded drill any longer unless the hole is in steel and more than 1/2" diameter. The chucks I have are really worn out and need replacing on the Dewalts. But I don't remember this until I try to drill a big hole and the bit keeps slipping no matter how tight I try to make it ....
I have probably drilled as many holes in metal as I have in wood over the years, so I'm hard on them. Sharp bits are as important as a good quality drill. A drill sharpening jig is a good investment, especially for metal work: