Here "cultic prostitutes" refers to young men who served in pagan temples performing sexually immoral acts as part of their rituals. Possible meanings are: the godless die because of their immoral behavior or the godless die in shame and disgrace.