A way of earning the pleasure of the almighty is to go back to the one who actually pleased him. It was none other than the prophet Muhammad peace be upon If you would like to please Allah, go and look at how Muhammad peace be upon Him pleased Allah subhanahu wa’ta’ala.
Allah Is in control. Remember take all the precautions, lay your trust in Allah, do that which is pleasing to Allah. Try your best to stay away from that which is displeasing to Allah.
Don’t concoct things and think I’m going to please Allah if I were to do it this way or that way simply go back to what the prophet Muhammad peace be upon Him taught and follow it.