the first one means that because you did not know his situation, you didn't know how to help. you want to, but don't know how.
the second one means that because you don't know his situation, you don't want to help him. this one kind of implies that you don't really like the person, nor want to help him in the first place. haha