Many great sages gathered at the bank of river Sarasvati to participate in Maha yagya organized at that time. Maharishi Bhrigu was also present there. All the great saints and sages could not decide that out of the Trinity Lord Vishnu, Brahma and Shiv who is pre-eminent and to whom should they offer Pradhanta (Master) of that yagya. With the consent of all the great saints present there, it was decided that Maharishi Bhrigu will test and decide who was pre-eminent.
Upon being entrusted with the task Maharishi Bhrigu decided to test Lord Brahma first. He went on to see Lord Brahma in Brahmalok. On reaching Brahmalok Maharishi displayed utter disrespect to Lord Brahma on purpose. Lord Brahma got angry and wanted to punish Maharishi but Maha Saraswati, wife of Lord Brahma saved Maharishi from his anger. Angry with disrespect, Maharishi Bhrigu cursed Lord Brahma that no one will worship Brahma in Kaliyug. To this day, there are very few temples devoted to Lord Brahma (the notable exception being the Brahma Temple at Pushkar).
Maharishi Bhrigu then decided to visit Lord Shiva at Kailash Parvat. On reaching Kailash Parvat, Nandi stopped him from going inside because at that time, Shiva and Parvati were sporting fun. Bhrigu curses Lord Shiva to be only worshipped in Linga form. (We however have a statue form of lord Shiva in Kashi (Maha Mrityunjaya Temple) said to be over 400 years old.)
Then in order to test Lord Vishnu, Maharishi reached Vaikunth Dham. He entered the Dham without Lord Vishnu's permission and saw that the Lord was resting at that time. Maharishi asked him to wake up, but Lord was in deep sleep. On seeing no reaction from Lord, Maharishi hit Lord Vishnu on his chest (that strike by Maharishi Bhrigu left a foot print on Lord's chest and that foot print is known as "Shri Vatsa").
Lord Vishnu got up after the strike and realized what has happened. On realizing that Maharishi had hit him with his foot, Lord asked him, “Maharishi, are you hurt in your foot? My chest is strong but your foot is not so strong". Seeing the decorum of Lord Vishnu, Bhrigu was pleased and declared him superior amongst the Tridev.
Goddess of prosperity and wife of Lord Vishnu, Maha Laxmi also witnessed the whole incident, as she was also present in the Dham at that time. She could not tolerate disrespect displayed by Maharishi Bhrigu towards Lord Vishnu and cursed him that henceforth she would never visit Brahmins and they will all live in absence of wealth.
On hearing this curse from Maha Laxmi, Maharishi told her, his very purpose of visiting the Vaikunth Dham and his mission.
On hearing this, Maha Laxmi told Maharishi, that her curse will definitely haunt Brahmins but whenever any Brahmin will worship Lord Vishnu, he will be liberated from her curse.