What if someone took your answers, put them in a book, claimed they wrote everything themselves, and then sold the book for money?
On the other hand, if they read my answers and they wrote a book about what they learned (not copied). There'd be no issues
Let's be real, SO is a troubleshooting site. It's not our personal collection of code or project sources.
I don't expect to be paid when someone asks me for directions, and I'm sure lonely planet didn't source their guides 100% organically either.