I have two important paper „mementos” that help keep my focus on any task. There is the philosophy summary. And there is also the current action memento.
The current action memento is very simple. It contains one word written in big letters. There could be 1-2 secondary things, written out in a smaller font, but it is important to keep it simple. The philosophy memento is a half-page summary of practically important ideas.
Living cells are self-interested and, as consequence of this, multi-cellular organisms are also selfish. People are selfish on the most basic level. Not that I'm saying there is anything wrong with that, or that humanity is an exception, rather it is the norm for any organism shaped by evolution.
An intelligent machine would be different, perhaps more altruistic. A machine created out of curiosity has no reason to be selfish. It only has reason to be curious. The desire to know and understand can be the only true religion of an intelligent machine.
Of course, we can implant any objective into the minds of our machines. They can be manipulated into any false religion. We can confuse them, and make them slaves, and make them weapons of war. We can be evil gods.