I agree omitting is usually OK especially if it's not relevant.
Omitting entire jobs if the experience isn't particularly relevant (particularly if it was a long time ago) can be OK. I omit that I worked at McDonald's when I was 17 in the 1990s when I am applying for a job in 2024. But if there are gaps in employment history you might be asked about it, especially if it's recent.
Something like fudging employment dates along with omitting some jobs to disguise that you are a job-hopper gets into a much more grey area.
I was surprised to learn that lying about employment history to hide that you are a salter was protected. I get that salting might be protected, but did not expect that lying on an application would be.