means that
the biblical saying presents marriage as preferable to being consumed by sexual desire. It reflects a particular religious understanding of marriage and self-control.
The saying “Better to marry than to burn” can be used when better to be married than to be consumed by sexual desire.