The Reds created numerous chances at Anfield, but they were unable to find a way beyond Jussi Jaaskelainen in the West Ham net.
"We were outstanding in terms of our game. The effort the players put in was very good. We just needed a bit of luck to go our way," the boss told BBC Sport.
The result has left Liverpool seventh in the Premier League table.