There is some offset. Principal attendees usually pass an envelope containing cash to the bereaved which, according to the deceased's status, can be substantial but seldom enough to cover the total cost. The downside is that if the bereaved, in the future, attend a funeral of a donor's deceased relative, there is an obligation to make a similar offering or suffer unspoken loss of face.