Every bank does this, that's how a bank works. He takes money from a person and pays him X interest, lends it to another person and charges Y interest, the difference between what he charged Y and paid to X is what he earns in profits, called the spread.