To make a generation ship work you have to build a self-contained ecology that is stable and self-repairing, inside mechanical and software systems that are fault tolerant and either extremely redundant or self-repairing, run by a political and social system that is also fault-tolerant and self-repairing.
We know how to do exactly zero of those things.