If that was the case, why wouldn’t they lower the price, until people bought them? Eggs have a limited shelf life.
Actually, eggs have a long shelf life. Much longer than any source of protein (except salt fish, or salt pork).
The sell-by date is artificial.