Creating a player character, or a PC, in Dungeons & Dragons means combining several key factors to make a fun, effective character who can thrive in any campaign or one-shot. Choosing weapons, feats, and spells is fun, but the two most essential factors to consider up front are class and race. Choosing the right combination of class and race can make or break a character, which is true even for generally strong races like dwarves.
Source:https://www.cbr.com/dnd-dwarf-best-classes-ranked/