Do u guys think that the only reason someone would confess to love is bc they think their crush liked them back?

If so in this scenario a girl goes up to a boy confesses her love and he reject her do you think that the only reason that she confessed was because he led her on

Do u guys think that the only reason someone would confess to love is bc they think their crush liked them back?
Post Opinion