All lands or other property given by individuals, or appropriated by the state for educational purposes, and all estates of deceased persons who die without leaving a will or heir, shall be faithfully applied to the maintenance of the public schools.