What is the meaning of
“potential gains are worth potential losses meaning”
This referrers to the balance between risk and reward. The profit is great enough and the likelihood of gain high enough to justify the amount and likelihood of loss should the project fail.
When you buy a lottery ticket you risk a small amount for a chance to gain a large amount even though the chance to win is very small the potential gain is large and the loss small.