King James Version
Now it was not written for his sake alone, that it was imputed to him;New International Version
The words "it was credited to him" were written not for him alone,Catholic Public Domain Version
Now this has been written, that it was reputed to him unto justice, not only for his sake