no it does 5
Swords in Minecraft

Good Swords and Bad Swords
Do you have wooden sword as a weapon? That's too weak to count as a weapon to me! Wooden swords only does 2 attack damage. If I had a wooden sword, I would use it for chopping plants and trees. The golden sword isn't durable enough for professional fighting or killing, but it is the easiest to enchant. It also does 2 attack damage.The stone sword does 2 1/2 attack damage. It has a stronger bite. The iron sword-now we're talking! Not only does it last more than the wooden, golden, and stone swords, but it does 3 attack damage. The diamond sword, aka the strongest sword, most slays animals and players in one hit. It does 3 1/2 attack damage.
How to Build a Sword
All swords is made of 1 stick and 2 of its material(wooden=oak wood blocks, diamond=diamonds, etc.) It probably looks like this:
Thnx for reading my post!😊
THIS IS FOR NOOBS ONLY
wooden sword = 4 attack damage(2 hearts)
golden sword = 4 attack damage, lower durability than wooden sword(idk why I rarely find gold)
stone sword = 5 attack damage(2 1/2 hearts)
iron sword = 6 attack damage(3 hearts)
diamond sword = 7 attack damage (3 1/2 hearts)
netherite sword = 8 attack damage(4 hearts)

how to craft one looks like this: