I use obsidian with live-sync for journal taking and personal knowledge base
Have tried onenote, it works pretty well but it’s a lock-in solution and the search isn’t very good.
The really awesome thing with onenote is when you add a task and it shows up i outlook