If your house is currently tumbling down a slope in a mudslide, your first thought probably isn’t “Hmmm, how much does it cost to build a retaining wall?” - you have more immediate problems.
But to avoid this potential catastrophe, you might want to check into retaining wall costs.