Is it illegal to advertise a job that isn’t realistic compared to the future employees actual tasks?

for instance, a company advertises for a role, 1 person lands the job. However a year into employment the person who got the job doesn’t actually do any of the tasks advertised.

is there anything here to suggest wrongdoing from the company?