How does the Supreme Court’s stance on free land allotment reflect the balance between public interest and private benefit?

The Supreme Court upheld the Telangana High Court’s decision that free land allotment to IAMC was unsustainable. I want to understand how courts weigh public welfare against the interests of private organizations in such cases.