D&D has multiple carrots to keep the player's motivated: XP, wealth, magic items, new spells, knowledge, connections, rulership, plot, etc.
The big two seem to be XP and magic items - unique and possibly powerful magic. Usually the end results of killing things and taking their stuff
Which motivates you the most as a player? What fails to motivate you?