Studying the table, what would concern me about West Ham are the number of defeats (13) that they have incurred since the start of the season.
That is the second worst statistic in the entire division, - only Southampton (with 15 defeats) exceed it, and only Leicester - currently perched in 14th place, but with seven victories to their name - currently equal it.
Personally, I'd be happier to see more draws (which is the position of Leeds, currently lying one place below West Ham), since it suggests that the team can be difficult to defeat, and could thus claw their way to safety if they won a few more games.
Up to a few years ago, 40 points was thought to have been the number that a team needed to have acquired over the course of the season in order to secure safety and avoid relegation.
However, in recent years, that number has decreased, for, last season (2021-2022), 38 points were sufficient to secure safety, whereas, by the end of the previous season (2020-2021), 39 points were adequate to avoid relegation.