Revelation occurred in the mount of Hira.
Why did the Prophet (saw) isolate himself in Hira?
To reflect, ponder and worship Allah. He (saw) was also tired of the shirk occurring in Makkah.
What can we learn from this?
That we need to spend time pondering and thinking about the signs that Allah has made clear to us so we become closer to Him. To also think about our day in terms of sins we have committed.
Having alone time helps to accomplish this.
The Prophet (saw) would spend time pondering so we ponder too over sins and so on daily.