Simony

The sin of buying or selling ecclesiastical offices or preferments.