I recently read that stable nuclei are lighter than the sum of their constituents. For instance, a helium nucleus is lighter than two neutrons and two protons, and hence it is not energetically favorable for it to undergo fission, making it stable.
For me, this makes sense when we thing about the potential energy for the interaction between nucleons. Since the nuclear force is attractive and follows a Yukawa potential, I expect it to have a potential well, and thus for the energy of the bound state to be lower. So far so good.
Now let us consider a different scenario. The proton is (very loosely speaking) composed of three quarks. Now these three quarks add to a mass that is much smaller than the proton mass, and the mass excess in the proton is usually attributed to the energy it takes to keep the quarks together. So the resulting composite object is heavier than its constituents.
I'm curious about how can we reconcile these two points of view. From a very naive point of view, I could expect the helium nucleus to be heavier than four nucleons, because we also need to account for the pions that keep the nucleons bound. In the case of the proton, maybe the energy of the quarks kept apart is much larger (due to confinement and the strong force growing with distance), so it is still energetically unfavorable for them to split.
In a more objective sense: why don't pion masses (for example) contribute to the mass of helium so that it end up being heavier than four nucleons? How can we understand the helium nucleus being lighter than four nucleons from a "mediator particle" point of view?