The Great Weapon Fighting feature-which is shared by fighters and paladins-is meant to benefit only the damage roll of the weapon used with the feature. For example, if you use a greatsword with the feature, you can reroll any 1 or 2 you roll on the weapon’s 2d6. If you’re a paladin and use Divine Smite with the greatsword, Great Weapon Fighting doesn’t let you reroll a 1 or 2 that you roll for the damage of Divine Smite.