That is not a profit because it is not generated from capital. "Cost of producing labour" is not just food/water/shelter/etc. it is the literal time you have to give up in order to perform the labour. Someone who owns capital gets the profit which the capital generates at zero cost or time spent.