Jupiter is a gas giant, but it is not entirely made of gases. It also has the so-called planetary mass,
However, worry that Jupiter will soonwill begin to devour the rest of the planets in the vicinity is not worth it. According to NASA, the planet "settled down" about four billion years ago and has stuck to its orbit ever since.
Jupiter is also at a distance on average800 million kilometers from Earth, so even if it starts pulling material towards it (which it won't), we'll be at a pretty safe distance.