To be able to accomplish this means that most of us have to be incredibly well read. Life is inspiring in itself. But I would wager a guess that most of us get inspired mostly from reading. To be able to write well in your preferred genre means that you read an incredible amount in your genre. To be able to write well across genres the same rule most likely applies. Some people are so in love with reading that they read anything and everything they can get their hands on. I know firsthand that describes a lot of folks in this guild.
Inspiration can come from so many parts of a great book. A particular character, a plot or sub-plot, an intense scene or a single line can spark a passion inside a writer that burns until we churn out pages of our own. What books have inspired you to write and what are you doing about it?