What is the meaning of [‘If you can’t take the heat, get out of the kitchen]

“If you cannot cope with the pace or stress, as in a competitive industry or in a position of high office, then you should leave or resign.”,Manser, Martin H. (2007). The Facts on File Dictionary of Proverbs. Infobase Publishing. p. 138. ISBN 978-0-8160-6673-5.