Any anime where the Mc gives up on his love interest

Looking for anime where the MC gives up on a girl he obsessed over where he realizes he's not good enough or they don't love him back and just gives up on them. Any recommendations?