Kick the bucket.

This idiom or expression means:

To die.

Before I kick the bucket, I like to see the world.

Compare to:
Bucket list.

History: 
In the old days, when they wanted to slaughter an animal, they used to hang it upside down from a wooden frame, called a “bucket”. The animal’s throat was then cut. As the animal was bleeding to death, it would “kick the bucket”.