Provide value to people, and you will be paid for that value.
Create a way to generate that value automatically, and your money will come passively.