>Older people can discriminate against younger people
No.
Family status is protected in housing law, so no, a landlord can't refuse to rent to someone because they have young children.
Exceptions apply for certain senior living communities, but they are 55+, not 40+.