Here are some ways you can prove you will leave Canada at the end of your temporary stay.
Demonstrating your ties to your home country (country of citizenship or residence) is very crucial if you want to obtain a temporary resident visa in Canada.
It shows the immigration officer that you have something to go back to at the end of your stay in Canada and that you are likely to leave prior to the expiration of your valid status in Canada.
Typically, a positive travel history, family members, property, or a job are used to demonstrate this area of a visa application.