During my teens, I was quite a jealous person. I'd see other people fulfilling aspirations I had for my own life, and I'd always think: 'They have it so easy.. it's not fair'. This is an atrocious thing to admit, but my jealousy was sometimes accompanied by a sort of willing things to go wrong for them, so that they'd feel how I felt.
As I've gotten older I feel like I have a greater understanding of humanity. I realise now, that things rarely come easy to anyone, and every single human being undergoes some form of suffering. We don't know what is going on in other people's lives. The pupil you described - how can you be sure what goes on for them at home? Public life can often be a very different story to what goes on inside. It's all assumption. It's easy to see ourselves as suffering, and everyone else as happy, but in essence that is a fatal lack of empathy.
It doesn't bring me comfort now to wish ill upon anyone, and my envy of other people, my wishing I was them.. or fantasising about what my life /should/ be like has diminished greatly.
Obviously not my own, original philosophy, but I do believe that expectation was/is the cause of much of my own suffering. I had a sense of entitlement: 'Why can't I have x, y, z.. like everyone else'. Essentially though, this is flawed thinking. My life is what I make of it.. ultimately, I'm responsible for my own happiness. I feel like setting myself expectations for my life can only lead to disappointment. Rather, it seems more realistic to go through life meeting my daily needs, living as much as possible in the moment, trusting as little as possible in the future (quam minimum credula postero) and not simply expecting happiness. I don't have any expectations, other than that life is going to be work, and at times, misery. When good things happen, I feel I'm much more grateful for them, as they aren't just actualisations of some bizarre life-long aspiration, and therefore they can't fall short in any way.
I don't feel like I'm expressing myself very clearly, and this is fast becoming pretty tangential so I'll end it here.