Gases in fixed-volume containers don't do one thing or the other: they form an equilibrium
The mistake I think you are making is that, in a vessel of fixed volume, gases and liquids don't do just one thing (or to use more technical language, have a single state as a liquid or a gas).
Take a more familiar system, water, as an illustration. Water is a liquid at normal atmospheric pressure between 0 and 100 celcius. Does this mean that there is no water vapour in the atmosphere? Clearly not since rain exists and water in standing vessels evaporates. Atmospheric water vapour is, approximately, in equilibrium with the liquid though that equilibrium varies a lot over time explaining rain and fog.
In a vessel of fixed volume you don't just have gas or liquid. You have both. The volume can't vary to compensate for temperature, so what varies is the ratio of liquid to gas inside the vessel. And that varies so that the pressure of the vapour establishes an equilibrium with the remaining liquid. If the temperature is high enough for there to be no liquid, then the pressure will be whatever the equations say the equilibrium pressure is for that much gas and that much volume. Once the temperature is low enough for liquid to exist, then liquid will condense from the gas until the pressure of the remaining vapour reestablishes the "right" equilibrium pressure. Over some range of temperature below a critical point, what will vary is the amount of liquid and the vapour pressure.
This is also how cheap butane cigarette lighters work. Butane is a liquid under normal conditions with only a slight pressure in excess to atmospheric. This is enough to drive the liquid out of the container to burn when ignited. The pressure doesn't vary much but the volume of liquid decreases as the lighter is used. All the time, though, the gas inside is in equilibrium with the liquid (until there is no longer any liquid left and the pressure drops rapidly leaving the lighter defunct.
All this is true unless the liquid completely fills the vessel, of course. When there is space there will always be some vapour in it, in equilibrium with the liquid. If there is no space then you often have a problem as liquids are not very compressible and the pressures can get very, very high very quickly when the temperature rises, which is usually a bad thing.