Why marrying across class was discouraged for thousands of years