If you lend money only to someone you think will pay you back, will God be pleased with you for that? Even sinners lend to sinners because they think they will get it all back.
But love your enemies and be good to them. Lend without expecting to be paid back. Then you will get a great reward, and you will be the true children of God in heaven. He is good even to people who are unthankful and cruel.