A thermal bath is defined as an environment with infinite energy capacity, such that we can consider the temperature constant, namely it is unaffected by changes in our ( smaller ) system.