I'm struggling to understand Kant's categorical imperative. Kant call behaviour which is in accordance with the categorical imperative moral and the rest is immoral according to him. Okay. I get that. So.. what is it act according to categorical imperative? It is to be logical. Kant thinks that everyone is setting others examples by the way they act --> If I do it, then I make it moral to do for other people as well. And he argues that we are logical, and that we should not do things which we wouldn't like if others did them as well. But does that mean that if I would like everyone to steal than it is okay for me to steal? ---
But this also contradicts with his: 'Things are morel if you do them because you want to do good things'. If you lie to save sb's life, then you do good. Or not? Oh, I see.. He also sets the definition of doing good by the categorical imperative - which says that telling a lie is a and thing.
As I understand it, Kant judges morality of an action based on the intention, not the result. So if my intention is to save sb's life but I lie to do it, are my actions moral?
And why should we be moral? Or is it just another word for being logical?