The probability that both front sway bar links on a 3 year old car are worn out is practically zero, unless you’ve been driving on washboard dirt roads for the entire (so far brief) life of the car.
More likely the dealership is doing what they all do, looking for signs of minor or even non-existent issues in order to sell parts and labor. Is your front suspension making unusual clicking or creaking sounds? If not, the sway bar links are probably fine.
If you really believe the sway bar links are bad, at least take it to a trusted independent mechanic for a second opinion. And always take what the dealership says with the assumption that they are going to try to sell you work whether or not the car needs it. Most of the time it doesn’t.
If you don’t have a trusted independent mechanic, find one in the Mechanics Files section of this site. And avoid the dealership whenever possible.