It's immoral to commit a crime against another person.
James doesn't have enough money to buy gas, but he sees that John has a lot of money in his wallet.
James wants to get some money from John.
James asks John to lend him the money for gas.
James hits John in the face and takes money from his wallet.
John gives James the money and tells him to pay it back when he can.
John reports James to the police and James is arrested.