The thermodynamics of a typical air-breathing jet engine are modeled approximately by a Brayton Cycle which is a thermodynamic cycle that describes the workings of the gas turbine engine, which is the basis of the airbreathing jet engine and others.
Naturally, net thrust will decrease with altitude, because of the lower air density.