Heinlein was a great writer. It is what made him so dangerous and loved by the left.
Unfortunately, he promoted a lot of really bad ideas and lies.
Heinlein started out a Leftist. After marrying his wife Ginny, his politics definitely shifted Right. Most of his sci-fi books are infused with libertarian philosophy (TANSTAAFL) and the power of the individual.