From this answer (emboldenment is mine) :
If you want to go with modern cognitive theories of motivation, then a good concept to explore would be PLOC (Perceived Locus of Causality), or how much you believe you influence events. If you believe you can influence an outcome, you believe its cause is internal (I-PLOC), if you believe you have little influence on an outcome, you believe its cause is external (E-PLOC). Learned helplessness is when repeated exposure to negative outcomes causes an E-PLOC, so your example would not qualify. But if your friend trusts your opinion and modifies their cognitive beliefs to align with yours, they will still display an E-PLOC, probably displaying very similar behaviour to learned helplessness, but that helplessness won't be 'learned'.
What counts as exposure? If I just observe that all my friends repeatedly fail to do the task, and I have E-PLOC from that, then would it be correct to say that I have learned helplessness? It doesn't feel like observing others' failure is social influence, because they don't tell me that I will be fail to success.