I was told that this was a remake of “The Omega Man”.
It follows thusly: I am Legend the novel, The Last Man on Earth, the loosely adapted Omega Man, and finally, I am Legend the movie. This one took some liberties but captured the declining mental state of Neville better than any of the other film versions.