The basis for the general prohibition against non-charitable purpose trusts is usually phrased on one or more of several specific grounds.
Where the objects of a trust are a purpose rather than an individual or individuals, there is much greater risk that a trust would not be enforceable due to lack of certainty.