Pain and discomfort need to be cleanly separated. Pain is a signal your body is suffering damage. Discomfort is a signal you’re not comfortable.
Exercising should immediately stop if there is ever any pain.
Exercise should not stop if there is discomfort.
Unfortunately “No discomfort, no gain” doesn’t have the same zip.