What is the grammatical status of the bold part? -- I think it's adverbial, modifying that clause that starts with 'moving', but there is probably more than one interpretation. -- I suggest this as a clearer explanation of its function: I am for young adults knowing that moving in with someone can increase your chances of making a mistake— or of spending too much time on a mistake— instead of safeguarding against divorce and unhappiness.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.