That actually is true of most of the books in the New Testament. Such so-called pseudepigraphical works, or works attributed to but not written by a specific author, were extremely common in the ancient world and should by no means be thought of as forgeries.