Barry Manilow didn't write his song called 'I write the songs'.

Barry Manilow didn’t write his song called “I write the songs”.

“I Write the Songs” was a hit written by Bruce Johnston and released on his 1977 album “Going Public.” However, it was Barry Manilow’s rendition that became a hit, reaching #1 on the Billboard Hot 100 in January 1976. The song also spent two weeks at #1 on the Billboard Adult Contemporary chart in December 1975.

Source