Fetching details from the dictionary...
to lose (money, etc.)
to waste one's (time, etc.); to have one's efforts come to naught
株で損してしまった。
I lost money on stocks.
このタイミングで売ったら損する。
If you sell at this timing, you'll lose money.
損すると分かっていても挑戦したかった。
Even knowing I'd lose money, I wanted to try.