May I humbly suggest Makita if Milwaukee doesn’t have what you need?
Makita was a pioneer in cordless tools. They have a long history of developing and improving battery technology, as well as quality construction and durability in hard use. My 40 year old Makita corded drill is still going strong. My 30 year old Makita cordless is still going strong.
Ryobi is consumer grade. Decent, but not the top of the line. They sell at a lower price point than Milwaukee or Makita (or Dewalt, or Bosch). Fine for infrequent use, but not what I would recommend for a serious, or professional, user.