Because lift diminishes with decreasing air density, a climb, once initiated, will end by itself when the diminishing lift with increasing altitude drops to a point that equals the weight of the aircraft.
However, during a constant rate climb at a reasonably steady angle the lift force is generally less than the weight with the engine operating.