I could imagine somewhere trying to make that the rule, but I have a hard time imagining that rule being enforceable.
At least for US federal taxes, losses do not need to be tied to revenue. As long as they occur in the same tax year, you can deduct. You can also carryover losses to future years, or pass them through to personal income deductions; but the rules there get more complicated.