If someone lends you money, you have a loan relationship with him. Just pay back the money on time
If it is entrusted to you, then small-scale people generally don't care about you now.
If others don't know, you misappropriate it to speculate, then you commit a crime. Depending on the amount, the responsibility is different. Serious enough to be sued for many years.