The issue is not whether it would be good if everyone acted on my maxim, or whether I would like it, but only whether it would be possible for my maxim to be willed as a universal law.
All the principles are temporally bound, for if a concept is purely a priori, as the categories are, then they must apply for all times.
German Idealism: the Struggle against Subjectivism, 1781—1801.
A categorical imperative binds us regardless of our desires: everyone has a duty to not lie, regardless of circumstances and even if it is in our interest to do so.