Home inspections are not required by lenders but a home inspection is recommended to find any problems that might come up with the house you're looking to buy.
A house is a huge financial investment and I would always get an inspection before buying a home.