I'm not going to help my friend with their work even though it's almost certain that they're going to get an F.
Why would you not help you friend.
They didn't make their work and I don't want to do homework for them
If they are really your friend, you would help them to pass their subject. If they're not motivated to do so, try to involve someone in their life or determine why they are not wanting to do so.
Maybe the goal is to see if they do okay. I guess the goal is to see if they bettered themselves or not.
I think that they should probably learn to be more responsible, but they can learn that and still have your support as their friend. Don't do their work for them, but lead them down a road that they can be successful.