How to earn a passive income in 2023