How to afford your dream house?

Im just wondering. Im as entreprenuer earning a decent amount a month. With all the inflation and house prices skyrocketing. How much money do you need to afford a house? Current market value of houses that i see is 10 million and above.

Tia 😊