bridge away from center island until you reach the ancient cities, this takes a lot of blocks tho so yeah just beat the dragon first in my experience it takes about the same preparation (getting netherite armor is PAIN if i get hit by a ghast one more time i will lose it)