>>95866967>Simple, cleverly applied divination is enough to counter everything the rogue might attempt to kill the caster.Mmn, not as such, no, not if you're thinking the way I think you're thinking.
Alarm can be actively used against the wizard to prevent them from resting by just intentionally triggering it so they can't get a Long Rest. The Rogue doesn't even need to enter the Alarmed area, just throw a mouse into it.
Augury only provides information out to 30 minutes in the future, and has a cumulative 25% chance per casting after the first of giving no answer.
Detect Thoughts has a duration of 1 minute and only tells you that thinking beings are in range. The "read thoughts" thing only counters a Rogue if you already know you're facing a Rogue.
See Invisibility is useless against Stealth checks.
Divination requires you to be specific. You can't say "will someone attack me in my sleep in the next 7 days", you have to ask "will Artemus Entreri attack me in my sleep in the next 7 days". It also expressly does not account for changing circumstances, i.e., if Artemus has no intention of attacking you at the time of casting then you'll get a "no" answer, but nothing stops him from changing his mind. Also like Augury, multiple castings results in null answers.
Contact Other Plane depends on the being your contacting knowing what a given rogue is getting up to, which they might not.
Truesight, like See Invisibility, is useless against Stealth checks.
Foresight is actually useful since it gives other creatures disadvantage on attacking you. But it is also a 9th level spell, beyond the range of most wizards. Also, the disadvantage is cancelled out by having advantage, which Rogues can just give themselves starting at 4th level.
In sum: Divination in practice isn't useful. A wizard is better protected by creating a Demiplane and sleeping there, but even that is hardly insurmountable by a sufficiently motivated Rogue.