Put yourself in their shoes.
It’s easy to look at someone’s circumstances and think we’d act differently. It’s easy and we all do it. Maybe not in big stuff but at least in the smaller things. We yell at the guy who just cut us off, but we admittedly didn’t merge in the best way ourselves when we got on the highway. We hate having to wait on someone else but we’re habitually late ourselves? It’s easy to judge someone else. But what it tried thinking about it from their perspective.
This doesn’t make them right. It’s may not even justify their actions. It does, however, remind you that this person is a person. They’re a person, someone, God loves and they’ve got a story (probably with some bumps and valleys along the way) that got them into your life. It’s easy to judge their current place and miss where God might have led them or might be taken them.
So put yourself in their shoes. Try to feel some empathy for their struggle. Try to share a little grace that God has shared with you.