That would be called the MSA then (minimum sector altitude) which is generally meant for IFR. If you're VFR then the easiest way to avoid hitting things is to stay out of you IMC!
(It's not my place to judge on this particular accident - hopefully the investigators will do their job correctly).