In fact, the story expresses people who lived in that period desired to gain better life, which is the reason why the lamp was magic and amazing. If we have understood the background of the book, the book's plots will impress us easily.
I search on the Internet and find that when author composed the book,it
is the period of the Tang dynasty in China. He thought China is the
eastest place in the world so it is different from what we talk today.