yes, He told them to get married because what they were doing would cause them NOT TO INHERIT the Kingdom of God.
Paul, actually wanted single men to be celibate.
but for the ones who can't keep it in their pants, he said, get married, but make sure your marriage is according to God.
don't choose the first woman who winks at you, take the one that God gives to you.