Were they really wise?

They say that the three wise men followed a star to the place of Jesus’ birth.
But if they were so wise, why would they follow a star?
That doesn’t sound very wise to me.
The little drummer boy found Jesus, and he didn’t follow a star.
Jesus’ mother Mary was worried about the star.
“If the Romans follow the star, they’ll find us and kill us,” she said.
So they bundled everything up and fled the barn, setting it on fire to cover their tracks.
“Nobody born here,” said the wise men to the arriving soldiers. “Nope. Not here.”