That verse has more than 1 meaning. It also means blessed are those who mourn over sinning against the Lord.
Wishing comfort to those dealing with serious health issues.
That’s a possibility, but I think most people take it to mean the mourning over the loss of a loved one.