IRCC can refuse these applications for a number of different reasons including insufficient funds, insufficinet ties to home country, lack of a travel history, etc. Having a spouse in Canada on a study permit does not automatically mean the other spouse will be approved as well.