That was one of the earliest hits for Burt Bacharach and Hal David. David wrote all the lyrics for the pair. Bacharach’s music was as beautiful as anything he wrote; and David’s lyrics were as stupid as anything he wrote. I wonder how that pair kept pairing.
Here’s the song, with lyrics.