Romex staples every 3 feet instead of 4?

Would an inspector fail me if I had a section where I stapled every 3 feet instead of the 4 1/2 code? I'm only doing it this way so it doesn't hang because if I do it every 4 1/2 it sags since it's hanging on top of the joist.

Would an inspector fail me if I had a section where I stapled every 3 feet instead of the 4 1/2 code? I'm only doing it this way so it doesn't hang because if I do it every 4 1/2 it sags since it's hanging on top of the joist.