Have you ever thought about giving up on something?
Here's one way of saying you want to give up in an interesting way: 'Throw in the towel'.
This phase came from boxing!
When the boxer is too tired or too injured to fight, the coach of the boxer then throws a towel into the ring to say that they give up on fighting for the match.
ex1. This dish is too complicated to make. I'm throwing in the towel.
ex2. No matter what I do, the person I like doesn't notice me. I`m throwing in the towel.