Always get items on or close to your character level so you can be optimized. And don't focus on the main quests for your rewards. They pale in comparison to what you get elsewhere. Dungeons will be your first source of gear, followed by the market board to make up for what you lack.