1 Now when Jesus was born in Bethlehem of Judaea in the days of Herod the king, behold, there came wise men from the east to Jerusalem,2 Saying, Where is he that is born King of the Jews? for we have seen his star in the east, and are come to worship him.
10When they saw the star, they rejoiced with exceeding great joy.
11And when they were come into the house, they saw the young child with Mary his mother, and fell down, and worshipped him: and when they had opened their treasures, they presented unto him gifts; gold, and frankincense and myrrh.
12And being warned of God in a dream that they should not return to Herod, they departed into their own country another way.
13 And when they were departed, behold, the angel of the Lord appeareth to Joseph in a dream, saying, Arise, and take the young child and his mother, and flee into Egypt, and be thou there until I bring thee word: for Herod will seek the young child to destroy him. 14 When he arose, he took the young child and his mother by night, and departed into Egypt:
The Magi traveled thousands of miles to see the new King of the Jews, by the time they reached Him, he was around 2 years old. When they found him they responded with Joy, worships and gifts.
In our lives today some expect God to come looking for us, explain himself, prove who He is, and give US gifts. some worship Him for what they can get, not for who He is. amplified NIV notes on Luke 2:2