Goldman Sachs Group Inc. said its lending business lost slightly more than $3 billion since 2020