Paul in 1 Cor 7:27, says
25 Now about virgins: I have no command from the Lord, but I give a judgment as one who by the Lord’s mercy is trustworthy. 26 Because of the present crisis, I think that it is good for a man to remain as he is. 27 Are you pledged to a woman? Do not seek to be released. Are you free from such a commitment? Do not look for a wife. (NIV)
According to Matthew (19:11-12), Jesus said
11 Jesus replied, “Not everyone can accept this word, but only those to whom it has been given. 12 For there are eunuchs who were born that way, and there are eunuchs who have been made eunuchs by others—and there are those who choose to live like eunuchs for the sake of the kingdom of heaven. The one who can accept this should accept it.” (NIV)
Do both of these quotes say one should prefer celibacy to marriage?
Note:I did read the answers here. Its a situational explanation of 1 Cor 2:27, which is incomplete in light of second verse quoted here in my opinion.